From 49aa4425a150dfb4fbae60b279d0e8c8d8d47191 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Mas=C5=82owski?= Date: Wed, 12 Oct 2011 18:46:42 +0200 Subject: Package the zbar library in ~mtjm, based on zbar-gtk from AUR. --- ~mtjm/zbar/PKGBUILD | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 ~mtjm/zbar/PKGBUILD (limited to '~mtjm') 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 +# Based on https://aur.archlinux.org/packages.php?ID=33527 +# Contributor: Radu Andries +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') -- cgit v1.2.3-2-g168b