summaryrefslogtreecommitdiff
path: root/community/iec16022/PKGBUILD
blob: cc47bcf7b88178684b1d917ac8eb931b7b0ebbc6 (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
# $Id: PKGBUILD 99813 2013-10-31 01:52:00Z allan $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>

pkgname=iec16022
pkgver=0.2.4
pkgrel=1
pkgdesc="Produce 2D barcodes often also referenced as DataMatrix"
arch=('i686' 'x86_64' 'mips64el')
url="http://datenfreihafen.org/projects/iec16022.html"
license=('GPL')
depends=('popt' 'zlib')
source=(http://datenfreihafen.org/~stefan/$pkgname/$pkgname-$pkgver.tar.gz)
md5sums=('9395108f1deaa2c4bd6d05a9e7c91431')

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

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
              --disable-static
  make
}

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

  make DESTDIR="$pkgdir/" install
}