summaryrefslogtreecommitdiff
path: root/~mtjm/zbar/PKGBUILD
blob: 64b47b5dcb02c7b4e07892647baed7f401fb9c5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
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')