PKGBUILD 612 B

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