calcpkg 524 B

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