# $Id: PKGBUILD 196974 2013-10-21 12:07:01Z andrea $ # Maintainer: Andrea Scarpino # Contributor: jose pkgname=libdmtx pkgver=0.7.4 pkgrel=5 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') build() { cd ${pkgname}-${pkgver} ./configure --prefix=/usr make } package() { cd ${pkgname}-${pkgver} make DESTDIR="${pkgdir}" install }