aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/py-stencil/APKBUILD
blob: 1f03fc6d18cd048d695d2936974dde46091efc43 (plain) (blame)
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
26
27
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-stencil
_pkgname=Stencil
pkgver=0.2.1
pkgrel=1
pkgdesc="A Python module to creates files and directories from templates"
url="https://github.com/trilan/stencil"
arch="noarch"
license="BSD"
depends="python2"
makedepends="python2-dev py-setuptools"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"

builddir="$srcdir/$_pkgname-$pkgver"

build() {
	cd "$builddir"
	python2 setup.py build
}

package() {
	cd "$builddir"
	python2 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="18d42d8b30141a55074ea8c6dcd0d07bcdd65f3effe7eef2fa525b6580e3cef30a28ee22a61c94432316a898ed2fe6408c12279be9e8c82108ea220bf79b549c  Stencil-0.2.1.tar.gz"