summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python-simpletal/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/pcr/python-simpletal/PKGBUILD b/pcr/python-simpletal/PKGBUILD
new file mode 100644
index 000000000..f35b565e9
--- /dev/null
+++ b/pcr/python-simpletal/PKGBUILD
@@ -0,0 +1,35 @@
+pkgbase=python-simpletal
+pkgname=(python-simpletal python2-simpletal)
+_pkgname=SimpleTAL
+pkgver=5.2
+_pkgver=4.3 # It's needs for Python 2
+pkgrel=1
+license=('BSD3')
+pkgdesc='A Python implementation of the TAL, TALES and METAL specification'
+arch=('any')
+makedepends=('python' 'python2')
+url="https://www.owlfish.com/software/${_pkgname,}"
+source=("$url/downloads/$_pkgname-$pkgver.tar.gz"
+ "$url/downloads/$_pkgname-$_pkgver.tar.gz")
+sha512sums=('16b46886af50f697e706c6b3f0400707299cfe40a81773fbd094de2f52ca8a87438f3ae7477462d0523570b3e3248d2ad4bb2affd3a7088fc45b1201ed228fbe'
+ '5246f00abc26801ff6b4950f28783fd9a1c124bb61be48f0f6cc4ab6cabe149566bc6f4edf7bc1cc625a8ee469cdd9a4824ee8390057a2c39896791ec1d73e45')
+
+build() {
+ cd $srcdir/$_pkgname-$pkgver
+ python setup.py build
+ cd $srcdir/$_pkgname-$_pkgver
+ python2 setup.py build
+}
+
+package_python-simpletal() {
+ depends=('python')
+ cd $srcdir/$_pkgname-$pkgver
+ python setup.py install --root=$pkgdir
+}
+
+package_python2-simpletal() {
+ depends=('python2')
+ pkgver=$_pkgver
+ cd $srcdir/$_pkgname-$_pkgver
+ python2 setup.py install --root=$pkgdir
+}