From 49393bba118e095e2972523a26977e2b31e550ff Mon Sep 17 00:00:00 2001 From: Nicolás Reynolds Date: Fri, 13 Sep 2013 10:49:01 -0300 Subject: Tahoe LAFS --- pcr/zfec/PKGBUILD | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 pcr/zfec/PKGBUILD (limited to 'pcr/zfec') diff --git a/pcr/zfec/PKGBUILD b/pcr/zfec/PKGBUILD new file mode 100644 index 000000000..0c2487c6b --- /dev/null +++ b/pcr/zfec/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Nicolas Pouillard +# Contributor: Peter Simons +pkgname=zfec +pkgver=1.4.24 +pkgrel=2 +pkgdesc="a fast erasure codec which can be used with the command-line, C, Python, or Haskell" +arch=('i686' 'x86_64') +url='http://pypi.python.org/pypi/zfec' +license=('GPL' 'custom') +depends=('python2' 'pyutil' 'zbase32') +makedepends=('darcsver' 'setuptools_darcs') +source=( http://pypi.python.org/packages/source/z/zfec/zfec-$pkgver.tar.gz ) +md5sums=('e1bca3a1f18374f72bdf8cd42ea9c919') + +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 -d $pkgdir/usr/share/licenses/$pkgname/ + install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/ +} -- cgit v1.2.3