summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD9
1 files changed, 5 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 49f47ce92f2..b2458b8dff5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Alex Zose <alexander[dot]zosimidis[at]gmail[dot]com>
pkgname=('pyzbar')
-pkgver=0.1.4
+pkgver=0.1.5
pkgrel=1
pkgdesc="A ctypes-based wrapper around the zbar barcode reader"
arch=('x86_64')
@@ -9,16 +9,17 @@ license=('MIT')
url="https://github.com/NaturalHistoryMuseum/pyzbar/"
depends=('zbar')
source=("$pkgname-$pkgver.tar.gz::https://github.com/NaturalHistoryMuseum/pyzbar/archive/v$pkgver.tar.gz")
-sha512sums=('b36ba9bab67420f8f2b86c81eff57e1cf51516e76eae6759c7073264b43b5e88f4ee79b9f1cc4d6c67fcd8c4c3c648e8aea38884992685044d10615502fd1abb')
+sha512sums=('785c3e4cc5b44a1035004e4b4dd2ee538613aa021300b84c6183cc457c751fe4b4a419241608ef0e5e548d312596a0d5f4857a7b1388c6cef77fd021a0e0034a')
package() {
- mkdir -p $pkgdir/usr/lib/python3.6/site-packages/
mkdir -p $pkgdir/usr/share/doc/$pkgname/
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
- cp -r $srcdir/$pkgname-$pkgver/$pkgname $pkgdir/usr/lib/python3.6/site-packages/
+ cd $srcdir/$pkgname-$pkgver
+ python setup.py install --root=$pkgdir/ --no-compile
install -m 644 $srcdir/$pkgname-$pkgver/{CHANGELOG,DEVELOPING,README}.md $pkgdir/usr/share/doc/$pkgname/
install -m 644 $srcdir/$pkgname-$pkgver/LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/
}
# vim:set ts=2 sw=2 et:
+