summaryrefslogtreecommitdiff
path: root/extra/libdmtx/PKGBUILD
blob: c33f5eb13bba573e16b48f9a9836b2b68d8f9d70 (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
# $Id: PKGBUILD 149704 2012-02-09 14:15:34Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: jose <jose1711 [at] gmail (dot) com>

pkgname=libdmtx
pkgver=0.7.4
pkgrel=3.1
pkgdesc="A software for reading and writing Data Matrix 2D barcodes"
url="http://www.libdmtx.org/"
arch=('i686' 'x86_64' 'mips64el')
license=('GPL2')
depends=('glibc')
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('d3a4c0becd92895eb606dbdb78b023e2')
options=('!libtool')

build() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  ./configure --prefix=/usr
  make
}

package() {
  cd "${srcdir}"/${pkgname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}