diff options
author | Michał Masłowski <mtjm@mtjm.eu> | 2011-10-12 18:46:42 +0200 |
---|---|---|
committer | Michał Masłowski <mtjm@mtjm.eu> | 2011-10-12 18:46:42 +0200 |
commit | 49aa4425a150dfb4fbae60b279d0e8c8d8d47191 (patch) | |
tree | f31e856a3e6b2092fca17da2c0cd873aacad5e66 /~mtjm/zbar/PKGBUILD | |
parent | 5ad9c2cffab1eaa2b10e19eb5fdd3e22dc9faa78 (diff) | |
download | abslibre-49aa4425a150dfb4fbae60b279d0e8c8d8d47191.tar.gz abslibre-49aa4425a150dfb4fbae60b279d0e8c8d8d47191.tar.bz2 abslibre-49aa4425a150dfb4fbae60b279d0e8c8d8d47191.zip |
Package the zbar library in ~mtjm, based on zbar-gtk from AUR.
Diffstat (limited to '~mtjm/zbar/PKGBUILD')
-rw-r--r-- | ~mtjm/zbar/PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/~mtjm/zbar/PKGBUILD b/~mtjm/zbar/PKGBUILD new file mode 100644 index 000000000..64b47b5dc --- /dev/null +++ b/~mtjm/zbar/PKGBUILD @@ -0,0 +1,28 @@ +# Parabola maintainer: Michał Masłowski <mtjm@mtjm.eu> +# Based on https://aur.archlinux.org/packages.php?ID=33527 +# Contributor: Radu Andries <admiral0@tuxfamily.org> +pkgname=zbar +pkgver=0.10 +pkgrel=1 +pkgdesc="A library for reading bar codes from various sources" +arch=('i686' 'x86_64') +url="http://zbar.sourceforge.net/" +license=('LGPL') +depends=('glibc') +provides=() +source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2") +options=(!libtool !emptydirs) + +# Disabled nearly everything since I don't need it and some of it needs fixes. + +build() { + cd "$srcdir/zbar-$pkgver" + + ./configure --prefix=/usr --without-qt --disable-video --without-python \ + --without-imagemagick --without-gtk --disable-static + make || return 1 + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: +md5sums=('0fd61eb590ac1bab62a77913c8b086a5') |