PKGBUILD 687 B

1234567891011121314151617181920212223242526272829
  1. # Maintainer: Nathaniel van Diepen <[email protected]>
  2. pkgname=calcpkg
  3. pkgver=20131230
  4. url="https://github.com/TC01/calcpkg"
  5. pkgver() {
  6. cd "$srcdir/$pkgname"
  7. if git describe --tags > /dev/null 2>&1;then
  8. git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g';
  9. else
  10. date +%Y%m%d;
  11. fi;}
  12. pkgrel=3
  13. pkgdesc='calcpkg is a command line tool for downloading TI calculator software from www.ticalc.org'
  14. license=()
  15. url=
  16. arch=('any')
  17. source=("git+https://github.com/TC01/calcpkg.git")
  18. build() {
  19. cd "$srcdir/$pkgname"
  20. python2 setup.py build;
  21. }
  22. package() {
  23. cd "$srcdir/$pkgname"
  24. mkdir usr;
  25. export PYTHONUSERBASE=$pkgdir/usr;
  26. python2 setup.py install --user;
  27. }
  28. md5sums=('SKIP')