summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--PKGBUILD/PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/PKGBUILD/PKGBUILD b/PKGBUILD/PKGBUILD
index 5d2f325..42ca51b 100644
--- a/PKGBUILD/PKGBUILD
+++ b/PKGBUILD/PKGBUILD
@@ -1,27 +1,26 @@
# Maintainer: Dennis Fink <dennis.fink@c3l.lu>
pkgname=patternutils
-pkgver=0.0.11
-_pkghash=845246bd20d9
+pkgver=0.0.12
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' 'python-pygments' 'python-feedparser')
-source=('patternutils-0.0.11.zip::https://projects.metalgamer.eu/patternutils/archive/845246bd20d99082f1809ce02426a9276bf041f9.zip?subrepos=false')
-sha512sums=('77bf4e5b7f70dc29325e4b9e396f715ff6e0d346f630f3b4b7a2b485bb74c7f6d5a6c7107d52ca02611c63487c46cdc7fcc3773fde31cbe4abbf8c7c44c9df58')
+source=('https://download.metalgamer.eu/patternutils/patternutils-0.0.12.tar.gz')
+sha512sums=('2d39fce29eda388436f2c11da1df8016436f0441e1c77c53aa1b7fa863e7862073629ee4dfb7d082abea0b70760c2535554fec0a0bfc6cd8674f688c6f37c771')
prepare() {
- sed -i 's/==/>=/g' "$srcdir/$pkgname-$_pkghash/setup.py"
+ sed -i 's/==/>=/g' "$srcdir/$pkgname-$pkgver/setup.py"
}
build() {
- cd "$srcdir/$pkgname-$_pkghash"
+ cd "$srcdir/$pkgname-$pkgver"
python setup.py build
}
package() {
- cd "$srcdir/$pkgname-$_pkghash"
+ cd "$srcdir/$pkgname-$pkgver"
python setup.py install --root="$pkgdir" --optimize=1
}