2020-09-20 10:23:34 +00:00
|
|
|
# Template file for 'python3-pyzbar'
|
|
|
|
pkgname=python3-pyzbar
|
|
|
|
version=0.1.8
|
2020-10-07 13:56:03 +00:00
|
|
|
revision=4
|
2020-09-20 10:23:34 +00:00
|
|
|
wrksrc="pyzbar-${version}"
|
|
|
|
build_style=python3-module
|
|
|
|
hostmakedepends="python3-setuptools"
|
|
|
|
depends="libzbar python3"
|
|
|
|
short_desc="Read one-dimensional barcodes and QR codes"
|
|
|
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
|
|
|
license="MIT"
|
|
|
|
homepage="https://github.com/NaturalHistoryMuseum/pyzbar/"
|
|
|
|
distfiles="https://github.com/NaturalHistoryMuseum/pyzbar/archive/v${version}.tar.gz"
|
|
|
|
checksum=f51c82c2864f8e5a8d44f55853e027f8cbc592324b7afffa62100f2f9c54cbdb
|
|
|
|
conflicts="python-pyzbar>=0"
|
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vlicense LICENSE.txt
|
|
|
|
# These only exec read_zbar.py
|
|
|
|
rm "$DESTDIR"/usr/bin/read_zbar
|
|
|
|
}
|