summaryrefslogtreecommitdiff
path: root/extra/qrencode/PKGBUILD
blob: 6e22ba1d65c602e2452e753d5bdf0d49b5077346 (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
# $Id: PKGBUILD 184425 2013-05-06 19:39:20Z foutrelis $
# Maintainer: Florian Pritz< flo@xinu.at>
# Contributor: Dany Martineau <dany.luc.martineau@gmail.com>

pkgname=qrencode
pkgver=3.4.2
pkgrel=2
pkgdesc="C library for encoding data in a QR Code symbol."
arch=(i686 x86_64 mips64el)
depends=('libpng')
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)
md5sums=('2c1693a29fe2f26089ccdff9051c0a3f')

build() {
  cd "${srcdir}/$pkgname-$pkgver"

  ./configure --prefix=/usr

  make
}

package() {
  cd "${srcdir}/$pkgname-$pkgver"

  make prefix="$pkgdir/usr" install
}