summaryrefslogtreecommitdiff
path: root/extra/xsane
diff options
context:
space:
mode:
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 cad28724a..7f8e8f99b 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 mips64el)
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() {