summaryrefslogtreecommitdiff
path: root/community/simple-scan/PKGBUILD
blob: 4294925beae7bb15f1756308b33ff654b3392afb (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
29
30
31
32
# Maintainer: Thomas Dziedzic < gostrc at gmail >
# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com>

pkgname=simple-scan
pkgver=2.32.0.2
pkgrel=1
pkgdesc='Simple scanning utility'
arch=('i686' 'x86_64' 'mips64el')
url='http://launchpad.net/simple-scan'
license=('GPL3')
depends=('sane' 'gconf')
makedepends=('gnome-doc-utils' 'intltool')
install="${pkgname}.install"
source=("http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver:0:4}/${pkgname}-${pkgver}.tar.bz2")
md5sums=('8435b0a31aba1255caf685eb57b18e06')

build() {
  cd ${pkgname}-${pkgver}

  ./configure \
    --prefix=/usr \
    --with-gconf-schema-file-dir=/usr/share/gconf/schemas \
    --disable-schemas-install

  make
}

package() {
  cd ${pkgname}-${pkgver}

  make DESTDIR=${pkgdir} install
}