Advertisement
Guest User

Untitled

a guest
Jan 2nd, 2017
112
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.99 KB | None | 0 0
  1. # Maintainer: lothar_m <lothar_m at riseup dot net>
  2. _pkgname=ofxclient
  3. pkgname=$_pkgname-git
  4. pkgver=0
  5. pkgrel=1
  6. pkgdesc="Simple ofxclient command line utility and OFX client libraries for development."
  7. arch=('x86_64' 'i686')
  8. url="https://github.com/captin411/ofxclient"
  9. license=('MIT')
  10. depends=('python2>=2.7'
  11. 'python2-beautifulsoup4'
  12. 'python2-ofxparse'
  13. 'ofxhome'
  14. 'python2-keyring'
  15. 'python2-configargparse'
  16. )
  17. # makedepends=()
  18. provides=(ofxclient)
  19. conflicts=(ofxclient)
  20. source=('ofxclient::git+https://github.com/captin411/ofxclient.git#branch=master')
  21. md5sums=('SKIP')
  22.  
  23. pkgver() {
  24. cd "$srcdir/$_pkgname"
  25. ( set -o pipefail
  26. git describe --long --tags 2>/dev/null | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g' ||
  27. printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
  28. )
  29. }
  30.  
  31. build() {
  32. cd "$srcdir/ofxclient"
  33. python2 setup.py build
  34. }
  35.  
  36. package() {
  37. # install package
  38. cd "$srcdir/ofxclient"
  39. python2 setup.py install --root="$pkgdir/"
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement