PKGBUILDs/extra/sane-frontends/PKGBUILD

23 lines
760 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 45268 2009-07-08 23:20:42Z eric $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgname=sane-frontends
pkgver=1.0.14
pkgrel=4
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://ftp.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 || return 1
./configure --prefix=/usr --mandir=/usr/share/man || return 1
make || return 1
make DESTDIR="$pkgdir" install || return 1
}