2012-11-02 10:54:06 +08:00
|
|
|
pkgname=qrencode
|
2015-11-12 13:56:53 +08:00
|
|
|
pkgver=3.4.4
|
2012-11-02 10:54:06 +08:00
|
|
|
pkgrel=1
|
|
|
|
pkgdesc="C library for encoding data in a QR Code symbol."
|
|
|
|
arch=('x86_64')
|
2015-11-12 13:56:53 +08:00
|
|
|
depends=('libpng')
|
2012-11-02 10:54:06 +08:00
|
|
|
makedepends=('sdl')
|
|
|
|
url="http://megaui.net/fukuchi/works/qrencode/index.en.html"
|
|
|
|
license=('GPL')
|
|
|
|
options=(!libtool)
|
|
|
|
source=("http://megaui.net/fukuchi/works/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
|
2015-11-12 13:56:53 +08:00
|
|
|
md5sums=('62ba472bede0ad393cc63e0012b5f007')
|
2012-11-02 10:54:06 +08:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
|
|
|
|
|
|
./configure --prefix=/usr
|
2015-11-12 13:56:53 +08:00
|
|
|
|
2012-11-02 10:54:06 +08:00
|
|
|
make
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "${srcdir}/$pkgname-$pkgver"
|
|
|
|
|
|
|
|
make prefix="$pkgdir/usr" install
|
|
|
|
}
|