diff options
author | root <root@rshg054.dnsready.net> | 2012-04-16 00:01:18 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-04-16 00:01:18 +0000 |
commit | ea3d877b99c32e3a9e00ab220440d4518430e5bc (patch) | |
tree | 8cf0d286f935fd9e00eb3854d971c165c749d7bf /community-testing/simple-scan | |
parent | f06b9295f0e60a0faa0d3231a0d0b3f2358d8459 (diff) |
Mon Apr 16 00:01:18 UTC 2012
Diffstat (limited to 'community-testing/simple-scan')
-rw-r--r-- | community-testing/simple-scan/PKGBUILD | 28 | ||||
-rw-r--r-- | community-testing/simple-scan/simple-scan.install | 18 |
2 files changed, 46 insertions, 0 deletions
diff --git a/community-testing/simple-scan/PKGBUILD b/community-testing/simple-scan/PKGBUILD new file mode 100644 index 000000000..e3b4aee08 --- /dev/null +++ b/community-testing/simple-scan/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Thomas Dziedzic < gostrc at gmail > +# Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com> + +pkgname=simple-scan +pkgver=3.3.92 +pkgrel=1 +pkgdesc='Simple scanning utility' +arch=('i686' 'x86_64') +url='http://launchpad.net/simple-scan' +license=('GPL3') +depends=('sane' 'dconf' 'gtk3' 'colord' 'hicolor-icon-theme') +makedepends=('yelp-tools' 'intltool') +install=simple-scan.install +source=(http://ftp.gnome.org/pub/GNOME/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz) +sha256sums=('01bcf323855df6e4c4ecd098810f8e50d5dd3ad021840b3ef1b80bc977fb77b3') + +build() { + cd $pkgname-$pkgver + ./configure \ + --prefix=/usr \ + --disable-schemas-compile + make +} + +package() { + cd $pkgname-$pkgver + make DESTDIR="$pkgdir" install +} diff --git a/community-testing/simple-scan/simple-scan.install b/community-testing/simple-scan/simple-scan.install new file mode 100644 index 000000000..5919c0b22 --- /dev/null +++ b/community-testing/simple-scan/simple-scan.install @@ -0,0 +1,18 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if (( $(vercmp $2 3.1.3) < 0 )); then + usr/sbin/gconfpkg --uninstall simple-scan + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |