diff options
Diffstat (limited to 'extra/libdmtx/PKGBUILD')
-rw-r--r-- | extra/libdmtx/PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/extra/libdmtx/PKGBUILD b/extra/libdmtx/PKGBUILD new file mode 100644 index 000000000..5bfaa6476 --- /dev/null +++ b/extra/libdmtx/PKGBUILD @@ -0,0 +1,26 @@ +# $Id: PKGBUILD 107616 2011-01-26 22:10:46Z andrea $ +# Maintainer: Andrea Scarpino <andrea@archlinux.org> +# Contributor: jose <jose1711 [at] gmail (dot) com> + +pkgname=libdmtx +pkgver=0.7.2 +pkgrel=2 +pkgdesc="A software for reading and writing Data Matrix 2D barcodes" +url=('http://www.libdmtx.org/') +arch=('i686' 'x86_64') +license=('GPL2') +depends=('imagemagick') +source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.bz2") +md5sums=('0684cf3857591e777b57248d652444ae') +options=('!libtool') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} |