2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libdmtx
|
|
|
|
pkgver=0.7.4
|
2017-11-28 22:33:28 +00:00
|
|
|
pkgrel=7
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
|
|
|
|
url="https://libdmtx.sourceforge.net/"
|
|
|
|
arch="all"
|
|
|
|
license="BSD-2"
|
|
|
|
source="https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
|
|
|
|
|
2017-11-28 22:33:28 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
|
|
|
update_config_sub
|
|
|
|
update_config_guess
|
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
build() {
|
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
|
|
|
sha512sums="13066ecefb3da3746c6f1e872ae7493bb3902fb891ef6d96f65a90ca444107662fcad4a7fae3463ab2f6503f0962d248a5dcd754a6eb0b5c624ae68100b9c056 libdmtx-0.7.4.tar.bz2"
|