diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-08-22 17:20:20 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2016-08-22 17:20:20 -0300 |
commit | d41a22736e0c623a18e63f83a67b6835386b3579 (patch) | |
tree | 899f1bad0ab2f3be1a0b988dbceb5a9e799ca1e6 /pcr/python-simpletal | |
parent | ebd4ba44b6888815029d945b120c2be9118e019e (diff) | |
download | abslibre-d41a22736e0c623a18e63f83a67b6835386b3579.tar.gz abslibre-d41a22736e0c623a18e63f83a67b6835386b3579.tar.bz2 abslibre-d41a22736e0c623a18e63f83a67b6835386b3579.zip |
add python-simpletal to [pcr]
Diffstat (limited to 'pcr/python-simpletal')
-rw-r--r-- | pcr/python-simpletal/PKGBUILD | 35 |
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 +} |