summaryrefslogtreecommitdiff
path: root/extra/sane-frontends/PKGBUILD
blob: fffa95d0a6e765e782b3494ad7e5325a1c20df00 (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
# $Id: PKGBUILD 149557 2012-02-08 14:05:36Z tpowa $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>

pkgname=sane-frontends
pkgver=1.0.14
pkgrel=6
pkgdesc="A set of frontends for SANE."
arch=(i686 x86_64)
url="http://www.sane-project.org"
license=('GPL')
depends=('sane' 'gimp' 'libjpeg>=7')
source=(ftp://ftp2.sane-project.org/pub/sane/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz MissingCapsFlag.patch)
md5sums=('c63bf7b0bb5f530cf3c08715db721cd3' '770f66e0534953f6129e1fc03d88ae01')

build() {
  cd "$srcdir/$pkgname-$pkgver"
  patch -p0 < ../MissingCapsFlag.patch
  ./configure --prefix=/usr --mandir=/usr/share/man
  make
}

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}