summaryrefslogtreecommitdiff
path: root/extra/xsane
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
committerroot <root@rshg054.dnsready.net>2013-05-07 00:36:35 -0700
commitda0a0d88caa1bf934ebf314ef86e15928dbb027b (patch)
treeb7c57ac9667de10c72390e0d81654fffbe47c42d /extra/xsane
parentffb692bf2696e7ebedd19bcd55ba253e21cb732d (diff)
Tue May 7 00:36:35 PDT 2013
Diffstat (limited to 'extra/xsane')
-rw-r--r--extra/xsane/PKGBUILD8
-rw-r--r--extra/xsane/xsane.install1
2 files changed, 6 insertions, 3 deletions
diff --git a/extra/xsane/PKGBUILD b/extra/xsane/PKGBUILD
index c06616e23..0b0257f22 100644
--- a/extra/xsane/PKGBUILD
+++ b/extra/xsane/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 148984 2012-02-05 11:58:59Z ibiru $
+# $Id: PKGBUILD 184456 2013-05-06 19:40:28Z foutrelis $
# Maintainer: Tobias Powalowski <tpowa@archlinux.org>
# Contributor: Sarah Hay <sarahhay@mb.sympatico.ca>
pkgbase=xsane
pkgname=('xsane' 'xsane-gimp')
pkgver=0.998
-pkgrel=2
+pkgrel=4
arch=(i686 x86_64)
url="http://www.xsane.org"
license=('GPL2')
@@ -21,7 +21,9 @@ build() {
patch -Np1 -i "${srcdir}/xsane-0.995-xdg-open.patch"
sed -i -e 's:png_ptr->jmpbuf:png_jmpbuf(png_ptr):' src/xsane-save.c
- ./configure --prefix=/usr --mandir=/usr/share/man --enable-gimp
+ ./configure --prefix=/usr \
+ --mandir=/usr/share/man \
+ --enable-gimp
make
mv src/xsane src/xsane-gimp
diff --git a/extra/xsane/xsane.install b/extra/xsane/xsane.install
index aa3e3b8f8..7e376517f 100644
--- a/extra/xsane/xsane.install
+++ b/extra/xsane/xsane.install
@@ -9,6 +9,7 @@ post_install() {
echo ""
echo " \$ rm -rf ~/.sane/xsane"
echo ""
+ echo "Xsane only supports creation of pdf files in 8bit colour depth!"
}
post_upgrade() {