# Contributor: Fabian Affolter # Maintainer: Fabian Affolter 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"