Want more features on Pastebin? Sign Up, it's FREE!
Guest

zbar-gtk PKGBUILD

By: a guest on Jul 30th, 2011  |  syntax: Bash  |  size: 0.78 KB  |  views: 164  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Radu Andries <admiral0@tuxfamily.org>
  2. pkgname=zbar-gtk
  3. pkgver=0.10
  4. pkgrel=1
  5. pkgdesc="An open source software suite for reading bar codes from various sources"
  6. arch=('i686' 'x86_64')
  7. url="http://zbar.sourceforge.net/"
  8. license=('LGPL')
  9. depends=(imagemagick libxv)
  10. optdepends=("python: python library")
  11. provides=()
  12. source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2?use_mirror=garr")
  13.  
  14. build() {
  15.   cd "$srcdir/zbar-$pkgver"
  16.  
  17.   sed -i 's|linux/videodev.h|libv4l1-videodev.h|g' ${srcdir}/zbar-${pkgver}/{zbar/video/v4l1.c,include/config.h.in,configure.ac,configure}
  18.   ./configure --prefix=/usr --without-qt
  19.   make || return 1
  20.   make DESTDIR="$pkgdir/" install
  21. }
  22.  
  23. # vim:set ts=2 sw=2 et:
  24. md5sums=('0fd61eb590ac1bab62a77913c8b086a5')
clone this paste RAW Paste Data