archrelease: copy trunk to extra-x86_64
[arch-packages.git] / qrencode / trunk / PKGBUILD
blob9cc5c0873b60d134f5c591d60039265bacaf53f0
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=2
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 sha256sums=('e455d9732f8041cf5b9c388e345a641fd15707860f928e94507b1961256a6923')
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