1234567891011121314151617181920212223242526272829 |
- # Maintainer: Nathaniel van Diepen <[email protected]>
- pkgname=calcpkg
- pkgver=20131230
- url="https://github.com/TC01/calcpkg"
- pkgver() {
- cd "$srcdir/$pkgname"
- if git describe --tags > /dev/null 2>&1;then
- git describe --tags --long | sed -E 's/([^-]*-g)/r\1/;s/-/./g';
- else
- date +%Y%m%d;
- fi;}
- pkgrel=3
- pkgdesc='calcpkg is a command line tool for downloading TI calculator software from www.ticalc.org'
- license=()
- url=
- arch=('any')
- source=("git+https://github.com/TC01/calcpkg.git")
- build() {
- cd "$srcdir/$pkgname"
- python2 setup.py build;
- }
- package() {
- cd "$srcdir/$pkgname"
- mkdir usr;
- export PYTHONUSERBASE=$pkgdir/usr;
- python2 setup.py install --user;
- }
- md5sums=('SKIP')
|