879213f02c
Tested on Qemu amd64. Everything builds and runs correctly. [skip ci]: ollieparanoid made sure that this builds for x86_64, armhf and aarch64.
32 lines
804 B
Text
32 lines
804 B
Text
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
|
pkgname=libdmtx
|
|
pkgver=0.7.5
|
|
pkgrel=0
|
|
pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
|
|
url="https://libdmtx.sourceforge.net/"
|
|
arch="all"
|
|
license="BSD-2"
|
|
makedepends="autoconf automake libtool"
|
|
source="https://github.com/dmtx/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
|
|
subpackages="$pkgname-dev $pkgname-libs $pkgname-doc"
|
|
|
|
prepare() {
|
|
default_prepare
|
|
|
|
cd "$builddir"
|
|
./autogen.sh
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
./configure --prefix=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "$builddir"
|
|
make DESTDIR="$pkgdir" install
|
|
}
|
|
|
|
sha512sums="c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a libdmtx-0.7.5.tar.gz"
|