# Contributor: Radu Andries pkgname=zbar-qt pkgver=0.10 pkgrel=1 pkgdesc="An open source software suite for reading bar codes from various sources" arch=('i686' 'x86_64') url="http://zbar.sourceforge.net/" license=('LGPL') depends=(qt imagemagick libxv) provides=() source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2?use_mirror=garr") build() { cd "$srcdir/zbar-$pkgver" sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' ${srcdir}/zbar-${pkgver}/{zbar/video/v4l1.c,include/config.h.in,configure.ac,configure} ./configure --prefix=/usr --without-gtk --without-python make || return 1 make DESTDIR="$pkgdir/" install } # vim:set ts=2 sw=2 et: md5sums=('0fd61eb590ac1bab62a77913c8b086a5')