summaryrefslogtreecommitdiffstats
path: root/zbar/PKGBUILD
blob: d33ab2e1794f1e0f1f4468026de9d87dc61aff9f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Contributor: Radu Andries <admiral0@tuxfamily.org>
pkgname=zbar
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=(imagemagick)
optdepends=("python: python library")
provides=()
source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2")

build() {
  cd "$srcdir/zbar-$pkgver"

  ./configure --prefix=/usr --without-qt --disable-video --without-gtk --without-x
  make || return 1
  make DESTDIR="$pkgdir/" install
}

# vim:set ts=2 sw=2 et:
md5sums=('0fd61eb590ac1bab62a77913c8b086a5')