diff options
Diffstat (limited to 'extra/sane-frontends/PKGBUILD')
-rw-r--r-- | extra/sane-frontends/PKGBUILD | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/extra/sane-frontends/PKGBUILD b/extra/sane-frontends/PKGBUILD index 36a2b0721..99d7a9ee5 100644 --- a/extra/sane-frontends/PKGBUILD +++ b/extra/sane-frontends/PKGBUILD @@ -1,22 +1,26 @@ -# $Id: PKGBUILD 64806 2010-01-22 08:53:01Z eric $ +# $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=5 +pkgrel=6 pkgdesc="A set of frontends for SANE." arch=(i686 x86_64 'mips64el') 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) +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 || return 1 - ./configure --prefix=/usr --mandir=/usr/share/man || return 1 - make || return 1 - make DESTDIR="$pkgdir" install || return 1 + patch -p0 < ../MissingCapsFlag.patch + ./configure --prefix=/usr --mandir=/usr/share/man + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir" install } |