diff options
Diffstat (limited to '')
| -rw-r--r-- | .hgignore | 5 | ||||
| -rw-r--r-- | PKGBUILD/PKGBUILD | 22 |
2 files changed, 27 insertions, 0 deletions
@@ -3,6 +3,11 @@ syntax: glob *.pyc *.json *.egg-info +*.tar.xz +*.tar.xz.sig build/* dist/* +PKGBUILD/pkg/* +PKGBUILD/src/* +PKGBUILD/*.zip diff --git a/PKGBUILD/PKGBUILD b/PKGBUILD/PKGBUILD new file mode 100644 index 0000000..fb1efc4 --- /dev/null +++ b/PKGBUILD/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Dennis Fink <dennis.fink@c3l.lu> + +pkgname=patternutils +pkgver=0.0.2 +pkgrel=1 +pkgdesc="Combine regular expressions with template engines in a powerful matter." +arch=('any') +url="https://projects.metalgamer.eu/patternutils" +license=('GPL3') +depends=('python' 'python-click' 'python-jinja') +source=('patternutils-0.0.2.zip::https://projects.metalgamer.eu/patternutils/archive/b58cce9cc2a92cfcf1f18f00e72db93255b283f9.zip?subrepos=false') +sha512sums=('51acafddc5c0309ad070b1f30191a1b857ace0f9247314738041f575d38b845bd8d8f05c03c2bac93de26341438b08675a616ab914ff7de97e56711855a08a4d') + +build() { + cd "$srcdir/$pkgname-b58cce9cc2a9" + python setup.py build +} + +package() { + cd "$srcdir/$pkgname-b58cce9cc2a9" + python setup.py install --root="$pkgdir" --optimize=1 +} |
