Advertisement
Guest User

PKBUILD for Plank-themer

a guest
Jun 10th, 2014
266
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Que Quotion <quequotion@mailinator.com>
  2.  
  3. pkgname=plank-themer-git
  4. _gitname=plank-themer
  5. pkgver=6b66d2d
  6. pkgrel=1
  7. pkgdesc="A small program that allows you to change Plank Dock themes without any additional consumption of resources"
  8. arch=('i686' 'x86_64')
  9. url="http://rhoconlinux.github.io/plank-themer/"
  10. license=('LGPL')
  11. depends=('bash' 'plank')
  12. makedepends=('bash')
  13. provides=("plank-themer=${pkgver}" "plank-themer-git=${pkgver}")
  14. conflicts=()
  15. replaces=('plank-themer')
  16. source=('git://github.com/rhoconlinux/plank-themer'
  17.     'Makefile'
  18.     'plank-themer.sh')
  19. sha512sums=('SKIP'
  20.             'b6562a7b69f4991d0e49c4bc9c79d5627fefcca6c95224acb28b17a0f7e20f0c65c7edd819641bd0ffe2ec063da4b2b3b6a7ac8d1229f21966874c8537e783bc'
  21.             'f5637581a9373b878f5ba3b55cec156ab6a82c159f3af2f872a183cde4817a17ada0d8745d319fcdbb68d1a49417247b08d732e0fc0c77b679ac8b4c3f65924d')
  22.  
  23. pkgver() {
  24.  
  25.     cd "${_gitname}"
  26.     git describe --always | sed 's/-/./g'
  27.  
  28. }
  29.  
  30.  
  31. prepare() {
  32.  
  33.     rm -rf ${_gitname}/themes-repo/Themes/Pantheon # Conflicts with plank-theme-pantheon(-bzr); probably not as up-to-date.
  34.     cp "$srcdir/Makefile" ${_gitname}
  35.     cp "$srcdir/plank-themer.sh" ${_gitname}
  36.  
  37. }
  38.  
  39. build() {
  40.  
  41.     cd ${_gitname}
  42.     make DESTDIR="$pkgdir"
  43.  
  44. }
  45.  
  46. package() {
  47.  
  48.     cd ${_gitname}
  49.     make DESTDIR="$pkgdir" install
  50.  
  51. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement