Subject: [PATCH] testing/libqrencode: new aport

From: Siva Mahadevan <[email-masked]>
Date: Sun, 24 Jan 2021 18:55:01 -0500

---
 testing/libqrencode/APKBUILD | 31 +++++++++++++++++++++++++++++++
 1 file changed, 31 insertions(+)
 create mode 100644 testing/libqrencode/APKBUILD

diff --git a/testing/libqrencode/APKBUILD b/testing/libqrencode/APKBUILD
new file mode 100644
index 0000000000..ed19b6d7cb
--- /dev/null
+++ b/testing/libqrencode/APKBUILD
@@ -0,0 +1,31 @@
+# Contributor: Siva Mahadevan <[email-masked]>
+# Maintainer: Siva Mahadevan <[email-masked]>
+pkgname=libqrencode
+pkgver=4.1.1
+pkgrel=0
+pkgdesc="fast and compact QR Code encoding library"
+url="https://github.com/fukuchi/libqrencode"
+arch="all"
+license="LGPL-2.1-or-later"
+makedepends="autoconf automake libtool libpng-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="$pkgname-$pkgver.tar.gz::https://github.com/fukuchi/libqrencode/archive/v$pkgver.tar.gz"
+options="!check" # no test suite
+
+build() {
+	./autogen.sh
+	./configure \
+		--build=$CBUILD \
+		--host=$CHOST \
+		--prefix=/usr \
+		--sysconfdir=/etc \
+		--mandir=/usr/share/man \
+		--localstatedir=/var
+	make
+}
+
+package() {
+	make DESTDIR="$pkgdir" install
+}
+
+sha512sums="584106e7bcaaa1ef2efe63d653daad38d4ff436eb4b185a1db3c747169c1ffa74149c3b1329bb0b8ae007903db0a7034aabf135cc196d91a37b5c61348154a65  libqrencode-4.1.1.tar.gz"
-- 
2.30.0