summaryrefslogtreecommitdiff
path: root/pcr/nevow/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'pcr/nevow/PKGBUILD')
-rw-r--r--pcr/nevow/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/pcr/nevow/PKGBUILD b/pcr/nevow/PKGBUILD
new file mode 100644
index 000000000..956a0cd32
--- /dev/null
+++ b/pcr/nevow/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=nevow
+pkgver=0.10.0
+pkgrel=8
+pkgdesc="web application construction kit written in Python"
+arch=('any')
+url='http://pypi.python.org/pypi/Nevow'
+license=('custom')
+depends=('python2' 'twisted')
+source=( http://pypi.python.org/packages/source/N/Nevow/Nevow-$pkgver.tar.gz )
+md5sums=('66dda2ad88f42dea05911add15f4d1b2')
+
+build(){
+ cd "$srcdir/Nevow-$pkgver"
+ python2 setup.py build
+}
+
+package(){
+ cd "$srcdir/Nevow-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --install-data=/usr/share/"$pkgname"
+ install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}