Browse Source

Add 'PKG'

Nathaniel van Diepen 4 years ago
parent
commit
75fbc736d7
1 changed files with 24 additions and 0 deletions
  1. 24 0
      PKG

+ 24 - 0
PKG

@@ -0,0 +1,24 @@
+pkgname=calcpkg
+pkgver=20131230
+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=1
+pkgdesc='calcpkg is a command line tool for downloading TI calculator software from www.ticalc.org'
+license=()
+url=
+arch=('any')
+source=("[email protected]:TC01/calcpkg.git")
+build() {
+    cd "$srcdir}/$pkgname"
+	python2 setup.py build;
+}
+package() {
+    cd "$srcdir}/$pkgname"
+	python2 setup.py install --prefix=$pkgdir;
+}
+md5sums=('SKIP')