summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Zosimidis2018-10-07 17:28:32 +0300
committerAlexander Zosimidis2018-10-07 17:28:32 +0300
commitdcfac9a1722e8ff0e10b2bbf4766c6ae591b7b60 (patch)
treeb89fc997fbb35cd37e250b7f39f4cf816b40f5a2
parent20c56c72f08b3a516cefe144ae0bf69f7e78aa23 (diff)
downloadaur-dcfac9a1722e8ff0e10b2bbf4766c6ae591b7b60.tar.gz
Version 0.1.7
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD14
2 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 0de760dbb2a..037ef82d849 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,13 +1,14 @@
pkgbase = pyzbar
pkgdesc = A ctypes-based wrapper around the zbar barcode reader
- pkgver = 0.1.5
+ pkgver = 0.1.7
pkgrel = 1
url = https://github.com/NaturalHistoryMuseum/pyzbar/
- arch = x86_64
+ arch = any
license = MIT
depends = zbar
- source = pyzbar-0.1.5.tar.gz::https://github.com/NaturalHistoryMuseum/pyzbar/archive/v0.1.5.tar.gz
- sha512sums = 785c3e4cc5b44a1035004e4b4dd2ee538613aa021300b84c6183cc457c751fe4b4a419241608ef0e5e548d312596a0d5f4857a7b1388c6cef77fd021a0e0034a
+ depends = python-setuptools
+ source = pyzbar-0.1.7.tar.gz::https://github.com/NaturalHistoryMuseum/pyzbar/archive/v0.1.7.tar.gz
+ sha512sums = 74b56658db7a8dc2d7a716992c001ec52a2befc9e31c41ecf7e5e1f277d4188963ef79a2433fc4befdd15d2f6e3f47c4f064582b530eef028c55e07e2c88dbbe
pkgname = pyzbar
diff --git a/PKGBUILD b/PKGBUILD
index b2458b8dff5..859d5e6205b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,22 +1,22 @@
# Maintainer: Alex Zose <alexander[dot]zosimidis[at]gmail[dot]com>
pkgname=('pyzbar')
-pkgver=0.1.5
+pkgver=0.1.7
pkgrel=1
pkgdesc="A ctypes-based wrapper around the zbar barcode reader"
-arch=('x86_64')
+arch=('any')
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=('785c3e4cc5b44a1035004e4b4dd2ee538613aa021300b84c6183cc457c751fe4b4a419241608ef0e5e548d312596a0d5f4857a7b1388c6cef77fd021a0e0034a')
+url="https://github.com/NaturalHistoryMuseum/$pkgname/"
+depends=('zbar' 'python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/NaturalHistoryMuseum/$pkgname/archive/v$pkgver.tar.gz")
+sha512sums=('74b56658db7a8dc2d7a716992c001ec52a2befc9e31c41ecf7e5e1f277d4188963ef79a2433fc4befdd15d2f6e3f47c4f064582b530eef028c55e07e2c88dbbe')
package() {
mkdir -p $pkgdir/usr/share/doc/$pkgname/
mkdir -p $pkgdir/usr/share/licenses/$pkgname/
cd $srcdir/$pkgname-$pkgver
- python setup.py install --root=$pkgdir/ --no-compile
+ python setup.py install --root=$pkgdir/
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/
}