summaryrefslogtreecommitdiff
path: root/pcr/setuptools_darcs/PKGBUILD
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/setuptools_darcs/PKGBUILD
parent23c93a8bc3b2e79b3438f12ca03a3ef28a44fcbb (diff)
Tahoe LAFS
Diffstat (limited to 'pcr/setuptools_darcs/PKGBUILD')
-rw-r--r--pcr/setuptools_darcs/PKGBUILD29
1 files changed, 29 insertions, 0 deletions
diff --git a/pcr/setuptools_darcs/PKGBUILD b/pcr/setuptools_darcs/PKGBUILD
new file mode 100644
index 000000000..7fbbdcaa8
--- /dev/null
+++ b/pcr/setuptools_darcs/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Peter Simons <simons@cryp.to>
+# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+pkgname=setuptools_darcs
+pkgver=1.2.11
+pkgrel=3
+pkgdesc="Python setuptools plugin for darcs"
+arch=('any')
+url='http://pypi.python.org/pypi/setuptools_darcs'
+license=('BSD')
+depends=('python2')
+makedepends=('setuptools' 'darcsver')
+source=( http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz )
+md5sums=('79451a8e77b9692861a655e53df094f0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ 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
+}