summaryrefslogblamecommitdiff
path: root/user/libqrencode/APKBUILD
blob: 9d4c61206525d5972c349c32a5e659a38be75c50 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
                                                        
                                                 







                                                   
          





                                                                    




                         











                                           



                                                                                                                                                                     
# Contributor: Ariadne Conill <ariadne@dereferenced.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libqrencode
pkgver=4.0.2
pkgrel=0
pkgdesc="Library for encoding QR codes"
url="https://fukuchi.org/works/qrencode/index.html"
arch="all"
options="!check"  # No test suite.
license="LGPL-2.1+"
depends=""
makedepends="libpng-dev libtool"
subpackages="$pkgname-dev $pkgname-doc"
source="https://fukuchi.org/works/qrencode/qrencode-$pkgver.tar.bz2"
builddir="$srcdir/qrencode-$pkgver"

prepare() {
	default_prepare
	update_config_sub
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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

sha512sums="2429c7938e32eacbaf327c029c7745ba33259f879661a8b6470cc617c780daf5bd1d5689599151df62e84badd2568eccab6c12f157331e512ab24a3899e0f002  qrencode-4.0.2.tar.bz2"