summaryrefslogtreecommitdiff
path: root/pcr/zbase32
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-09-13 10:49:01 -0300
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-09-13 10:49:01 -0300
commit49393bba118e095e2972523a26977e2b31e550ff (patch)
tree4a6769d8ccc0eb45d83f149e269aa91a54e7a93f /pcr/zbase32
parent23c93a8bc3b2e79b3438f12ca03a3ef28a44fcbb (diff)
Tahoe LAFS
Diffstat (limited to 'pcr/zbase32')
-rw-r--r--pcr/zbase32/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/zbase32/PKGBUILD b/pcr/zbase32/PKGBUILD
new file mode 100644
index 000000000..b4373abb8
--- /dev/null
+++ b/pcr/zbase32/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Peter Simons <simons@cryp.to>
+# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+pkgname=zbase32
+pkgver=1.1.5
+pkgrel=1
+pkgdesc="alternate base32 encoder (not RFC 3548 compliant)"
+arch=('i686' 'x86_64')
+url='http://pypi.python.org/pypi/zbase32'
+license=('BSD')
+depends=('python2')
+makedepends=('setuptools' 'darcsver' 'setuptools_darcs' 'pyutil')
+source=( http://pypi.python.org/packages/source/z/zbase32/zbase32-$pkgver.tar.gz )
+md5sums=('4dba0be4ac6d66968de8e5173f51d65d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+ python2 setup.py test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 PKG-INFO* $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}