summaryrefslogtreecommitdiff
path: root/community/iec16022/PKGBUILD
blob: 0924cbbce77d08d24db5acb13462d934659bec2b (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
# $Id: PKGBUILD 69134 2012-04-09 18:02:18Z bgyorgy $
# 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')
url="http://datenfreihafen.org/projects/iec16022.html"
license=('GPL')
depends=('popt' 'zlib')
options=('!libtool')
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
}