summaryrefslogtreecommitdiff
path: root/pcr/python-pystache
diff options
context:
space:
mode:
authorDavid P <megver83@parabola.nu>2020-07-23 13:14:47 -0400
committerDavid P <megver83@parabola.nu>2020-07-23 13:14:47 -0400
commite07b16fd0133fe4491e0dd594d29c2a892dc1747 (patch)
tree17fcbb8acce6a3eadde7bbe3ffe6cc669e1deab2 /pcr/python-pystache
parent58e67cd5942af3acee8c9e8ff58ae907fc12eed0 (diff)
downloadabslibre-e07b16fd0133fe4491e0dd594d29c2a892dc1747.tar.gz
abslibre-e07b16fd0133fe4491e0dd594d29c2a892dc1747.tar.bz2
abslibre-e07b16fd0133fe4491e0dd594d29c2a892dc1747.zip
addpkg: pcr/python-pystache 0.5.4-1
Signed-off-by: David P <megver83@parabola.nu>
Diffstat (limited to 'pcr/python-pystache')
-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"
+}