diff options
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 10 insertions, 10 deletions
@@ -1,7 +1,7 @@ pkgbase = python-pyxstitch pkgdesc = takes source code files and produces syntax-highlighted patterns for cross stitching. pkgver = 1.7.6 - pkgrel = 1 + pkgrel = 2 url = https://github.com/enckse/pyxstitch arch = any license = MIT @@ -2,7 +2,7 @@ _name=pyxstitch pkgname=python-$_name pkgver=1.7.6 -pkgrel=1 +pkgrel=2 pkgdesc="takes source code files and produces syntax-highlighted patterns for cross stitching." arch=("any") url="https://github.com/enckse/$_name" @@ -18,15 +18,15 @@ source=("https://pypi.python.org/packages/15/0a/4a98c83afe1bc4045546a67a958cd58f md5sums=("$_md5" "09b2ac6fbde8b1a1c4f223aa3ffedbba" "d4f45e5816e653b3ba21c779bbe9e5da" "4b252e0daec56eed0a4beb806ff8ce0a") build() { - sed -i "s/<Date>/$(date +"%B %Y")/g;s/<Version>/$pkgver/g" pyxstitch.1 - rm -f *.gz - gzip pyxstitch.1 + sed -i "s/<Date>/$(date +"%B %Y")/g;s/<Version>/$pkgver/g" pyxstitch.1 + rm -f *.gz + gzip pyxstitch.1 } package() { - install -Dm644 pyxstitch.1.gz $pkgdir/usr/share/man/man1/pyxstitch.1.gz - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE - install -Dm 644 bash $pkgdir/usr/share/bash-completion/completions/pyxstitch - cd "$srcdir/$_name-$pkgver" - python setup.py install --root="$pkgdir/" --optimize=1 + install -Dm644 pyxstitch.1.gz "$pkgdir/usr/share/man/man1/pyxstitch.1.gz" + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE + install -Dm 644 bash "$pkgdir/usr/share/bash-completion/completions/pyxstitch" + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 } |