summaryrefslogtreecommitdiff
path: root/user/libdmtx/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/libdmtx/APKBUILD')
-rw-r--r--user/libdmtx/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/user/libdmtx/APKBUILD b/user/libdmtx/APKBUILD
index 3c296d019..ce8e9f442 100644
--- a/user/libdmtx/APKBUILD
+++ b/user/libdmtx/APKBUILD
@@ -1,8 +1,8 @@
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libdmtx
-pkgver=0.7.4
-pkgrel=1
+pkgver=0.7.5
+pkgrel=0
pkgdesc="Library for creating and reading Data Matrix barcodes"
url="http://libdmtx.sourceforge.net/"
arch="all"
@@ -10,12 +10,12 @@ license="BSD-2-Clause"
depends=""
makedepends=""
subpackages="$pkgname-dev $pkgname-doc"
-source="https://downloads.sourceforge.net/libdmtx/libdmtx-$pkgver.tar.gz"
+source="$pkgname-$pkgver.tar.gz::https://github.com/dmtx/$pkgname/archive/v$pkgver.tar.gz"
prepare() {
cd "$builddir"
- update_config_sub
default_prepare
+ ./autogen.sh
}
build() {
@@ -33,7 +33,7 @@ build() {
check() {
cd "$builddir"
- make check
+ make CFLAGS="-std=c99" check
test/simple_test/simple_test
}
@@ -42,4 +42,4 @@ package() {
make DESTDIR="$pkgdir" install
}
-sha512sums="307aeb30506e60fc44550d1bb86081634f0718d53e7b878b45b0e704e75c5996e27285a16881b7c3a93cafa9a9b125175dadc0f0c2c2f976878666eb652108ae libdmtx-0.7.4.tar.gz"
+sha512sums="c4bccc9eff4a93b6bb417ed23ed46e82cc98b650a94be40479d192af8537ee02a16700fbbd8f2271035ff8b804c40ab6461825d94bd80a3081d3a4b3988ea22a libdmtx-0.7.5.tar.gz"