2017-11-26 17:08:10 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
pkgname=libdmtx
|
2019-01-18 14:02:04 +00:00
|
|
|
pkgver=0.7.5
|
|
|
|
pkgrel=0
|
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"
|
2019-01-18 14:02:04 +00:00
|
|
|
makedepends="autoconf automake libtool"
|
|
|
|
source="https://github.com/dmtx/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
|
2017-11-26 17:08:10 +00:00
|
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
|
|
|
|
|
2017-11-28 22:33:28 +00:00
|
|
|
prepare() {
|
|
|
|
default_prepare
|
2019-01-18 14:02:04 +00:00
|
|
|
|
|
|
|
cd "$builddir"
|
|
|
|
./autogen.sh
|
2017-11-28 22:33:28 +00:00
|
|
|
}
|
|
|
|
|
2017-11-26 17:08:10 +00:00
|
|
|
build() {
|
2019-01-18 14:02:04 +00:00
|
|
|
cd "$builddir"
|
2017-11-26 17:08:10 +00:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install
|
|
|
|
}
|
|
|
|
|
2019-01-18 14:02:04 +00:00
|
|
|
sha512sums="c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a libdmtx-0.7.5.tar.gz"
|