archrelease: copy trunk to extra-x86_64
[arch-packages.git] / qrencode / trunk / PKGBUILD
blobf3eb8b05d8b7d5a418a8e2628619f65f0858cfaf
1 # Maintainer: Florian Pritz< flo@xinu.at>
2 # Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
4 pkgname=qrencode
5 pkgver=4.1.1
6 pkgrel=1
7 pkgdesc="C library for encoding data in a QR Code symbol."
8 arch=(x86_64)
9 depends=('libpng')
10 makedepends=(sdl2)
11 url="https://fukuchi.org/works/qrencode/"
12 license=('GPL')
13 source=(https://fukuchi.org/works/${pkgname}/${pkgname}-${pkgver}.tar.bz2)
14 md5sums=('de7185bcab635a34730e1b73d4efa705')
16 build() {
17   cd "${srcdir}/$pkgname-$pkgver"
19   ./configure --prefix=/usr
21   make
24 check() {
25   cd "${srcdir}/$pkgname-$pkgver"
27   make check
30 package() {
31   cd "${srcdir}/$pkgname-$pkgver"
33   make prefix="$pkgdir/usr" install