summaryrefslogtreecommitdiff
path: root/pcr/python-pystache/PKGBUILD
blob: 7523900f59e4e37f75c1f1d3bf4d327a99d8a92b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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"
}