summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 7 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 65e0c2f7f55..0de760dbb2a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,13 @@
pkgbase = pyzbar
pkgdesc = A ctypes-based wrapper around the zbar barcode reader
- pkgver = 0.1.4
+ pkgver = 0.1.5
pkgrel = 1
url = https://github.com/NaturalHistoryMuseum/pyzbar/
arch = x86_64
license = MIT
depends = zbar
- source = pyzbar-0.1.4.tar.gz::https://github.com/NaturalHistoryMuseum/pyzbar/archive/v0.1.4.tar.gz
- sha512sums = b36ba9bab67420f8f2b86c81eff57e1cf51516e76eae6759c7073264b43b5e88f4ee79b9f1cc4d6c67fcd8c4c3c648e8aea38884992685044d10615502fd1abb
+ source = pyzbar-0.1.5.tar.gz::https://github.com/NaturalHistoryMuseum/pyzbar/archive/v0.1.5.tar.gz
+ sha512sums = 785c3e4cc5b44a1035004e4b4dd2ee538613aa021300b84c6183cc457c751fe4b4a419241608ef0e5e548d312596a0d5f4857a7b1388c6cef77fd021a0e0034a
pkgname = pyzbar
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:
+