aboutsummaryrefslogtreecommitdiffstats
path: root/community/libdmtx/APKBUILD
blob: 557c07fd59f8099ce8dc479594177fa3bb2af00f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=libdmtx
pkgver=0.7.5
pkgrel=1
pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
url="https://github.com/dmtx"
arch="all"
license="BSD-2-Clause"
makedepends="autoconf automake libtool"
source="https://github.com/dmtx/libdmtx/archive/v$pkgver/libdmtx-$pkgver.tar.gz"
subpackages="$pkgname-static $pkgname-dev $pkgname-libs $pkgname-doc"

prepare() {
	default_prepare

	./autogen.sh
}

build() {
	./configure --prefix=/usr
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a  libdmtx-0.7.5.tar.gz"