SHARE
TWEET

Untitled

a guest Aug 19th, 2015 197 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Maxim Andersson <thesilentboatman@gmail.com>
  2. # Contributor: Martin Ortbauer <mortbauer@gmail.com>
  3.  
  4. pkgname=aur-comment-fetcher-git
  5. _gitname=aur-comment-fetcher
  6. pkgver=r8.f03e37d
  7. pkgrel=1
  8. pkgdesc="A simple script fetching the comments of packages in AUR"
  9. arch=('any')
  10. url="https://github.com/mortbauer/aur-comment-fetcher"
  11. license=('GPL')
  12. depends=('python-termcolor' 'python-requests' 'python-beautifulsoup4' 'python3-aur')
  13. makedepends=('git')
  14. provides=('aur-comment-fetcher')
  15. conflicts=('aur-comment-fetcher')
  16. source=('git://github.com/mortbauer/aur-comment-fetcher.git')
  17. sha256sums=('SKIP')
  18.  
  19. pkgver() {
  20.   cd "${srcdir}/${_gitname}"
  21.   printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  22. }
  23.  
  24. package() {
  25.   cd "${srcdir}/${_gitname}"
  26.   install -Dm755 "aur-comment-fetch" -t "$pkgdir/usr/bin"
  27.   install -Dm644 "bash_completion" -T "$pkgdir/etc/bash_completion.d/aur_comment_fetch"
  28. }
  29.  
  30. # vim:set ts=2 sw=2 et:
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top