From qontinuum, 2 Years ago, written in Plain Text.
Embed
  1. # Maintainer: Florian Bruhin (The Compiler) <[email protected]>
  2.  
  3. pkgname=stikkit-git
  4. pkgver=1.0.6.r10.gd9f75dc
  5. pkgrel=1
  6. pkgdesc="Commandline tool to upload pastes to stikked pastebins"
  7. arch=('i686' 'x86_64')
  8. url="http://github.com/benapetr/stikkit"
  9. license=('GPL')
  10. makedepends=('git' 'cmake')
  11. conflicts=('stikkit')
  12. provides=('stikkit')
  13. source=("$pkgname"::'git+https://github.com/benapetr/stikkit.git')
  14. md5sums=('SKIP')
  15.  
  16. pkgver() {
  17.   cd "$srcdir/$pkgname"
  18.   git describe --long | sed -E 's/^Release_//;s/([^-]*-g)/r\1/;s/-/./g'
  19. }
  20.  
  21. build() {
  22.   cd "$srcdir/$pkgname/stikkit"
  23.   cmake -DCMAKE_INSTALL_PREFIX=/usr .
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd "$srcdir/$pkgname/stikkit"
  29.   make DESTDIR="$pkgdir" install
  30. }
  31.  
captcha