summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pcr/python-pystache/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/python-pystache/PKGBUILD b/pcr/python-pystache/PKGBUILD
new file mode 100644
index 000000000..7523900f5
--- /dev/null
+++ b/pcr/python-pystache/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: David P. <megver83@parabola.nu>
+
+pkgname=python-pystache
+pkgver=0.5.4
+pkgrel=1
+pkgdesc='The mustache template engine written in python'
+arch=(any)
+url='http://github.com/defunkt/pystache'
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+source=("https://github.com/defunkt/pystache/archive/v$pkgver.tar.gz")
+sha256sums=('163f5b8fb45f6be3a5074a53a47e79ef51ec015ee43f3ec34b16be279147c96f')
+
+build() {
+ cd "pystache-$pkgver"
+ python setup.py build
+}
+
+package() {
+ cd "pystache-$pkgver"
+
+ python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}