summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2011-10-12 18:46:42 +0200
committerMichał Masłowski <mtjm@mtjm.eu>2011-10-12 18:46:42 +0200
commit49aa4425a150dfb4fbae60b279d0e8c8d8d47191 (patch)
treef31e856a3e6b2092fca17da2c0cd873aacad5e66
parent5ad9c2cffab1eaa2b10e19eb5fdd3e22dc9faa78 (diff)
downloadabslibre-49aa4425a150dfb4fbae60b279d0e8c8d8d47191.tar.gz
abslibre-49aa4425a150dfb4fbae60b279d0e8c8d8d47191.tar.bz2
abslibre-49aa4425a150dfb4fbae60b279d0e8c8d8d47191.zip
Package the zbar library in ~mtjm, based on zbar-gtk from AUR.
-rw-r--r--~mtjm/zbar/PKGBUILD28
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')