blob: 5a816e0b9a286a17beb961ac11c8a067d5a8a13a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# $Id: PKGBUILD 133485 2011-07-28 15:04:33Z andrea $
# Maintainer: Florian Pritz< flo@xinu.at>
# Contributor: Dany Martineau <dany.luc.martineau@gmail.com>
pkgname=qrencode
pkgver=3.1.1
pkgrel=2
pkgdesc="C library for encoding data in a QR Code symbol."
arch=(i686 x86_64 'mips64el')
depends=('libpng>=1.4.0')
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 libpng14.diff)
md5sums=('e7feb2c2c65d0f2f4010a14da3ecdb89' '93e87b2751b0d422a08e96ccaae4d082')
build() {
cd "${srcdir}/$pkgname-$pkgver"
patch -p1 < "$srcdir/libpng14.diff"
autoreconf
./autogen.sh
./configure --prefix=/usr
make
}
package() {
cd "${srcdir}/$pkgname-$pkgver"
make prefix="$pkgdir/usr" install
}
|