# Maintainer: Natanael Copa pkgname=libqrencode pkgver=4.1.1 pkgrel=2 pkgdesc="Library for encoding QR codes" url="https://fukuchi.org/works/qrencode/index.html" arch="all" license="LGPL-2.1-or-later" makedepends="libpng-dev libtool" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="https://fukuchi.org/works/qrencode/qrencode-$pkgver.tar.bz2" builddir="$srcdir/qrencode-$pkgver" prepare() { default_prepare update_config_guess update_config_sub } build() { ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var \ --with-tests make } check() { make check } package() { make DESTDIR="$pkgdir" install } tools() { amove usr/bin/* } sha512sums="981b3242c213e1b40ac88711912dd8c27ea11f3437d1a04b6b226499a6e991a8f0b3b10f818bcc104812192a1dac4ce05f16ecd847a50cb03d4859b84bad89b8 qrencode-4.1.1.tar.bz2"