You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PKGBUILD 839B

123456789101112131415161718192021222324252627282930313233
  1. # Maintainer: John Jekins twodopeshaggy@gmail.com
  2. _pkgname=AlienFeed
  3. pkgname=alienfeed-git
  4. pkgver=230d5a6
  5. pkgrel=1
  6. pkgdesc="Reddit command-line client. Follow the latest submissions from your terminal."
  7. url="http://github.com/jawerty/AlienFeed"
  8. arch=('any')
  9. license=('MIT')
  10. depends=('python2-praw-git')
  11. makedepends=('git' 'python2')
  12. source=(git://github.com/jawerty/AlienFeed)
  13. md5sums=('SKIP')
  14. pkgver() {
  15. cd $_pkgname
  16. git describe --always | sed -e 's|-|.|g' -e 's|v||'
  17. }
  18. build(){
  19. cd $_pkgname
  20. sed -i "s|env python|env python2|" $srcdir/$_pkgname/alienfeed/alien.py
  21. }
  22. package() {
  23. cd $_pkgname
  24. python2 setup.py install --root="$pkgdir" --optimize=1
  25. install -vDm644 alienfeed.bash-completion "$pkgdir/usr/share/bash-completion/completions/alienfeed"
  26. install -vDm644 alienfeed.1 "$pkgdir/usr/man/man1/alienfeed.1"
  27. }