summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorLopo2015-12-16 13:19:45 +0100
committerLopo2015-12-16 13:19:45 +0100
commit847daaa2a3f69cbd2a49fc43dedb40ea231f0bc1 (patch)
tree0d8c0d76c4a2e0d6d465436c1eb91877c3a17901
parenta09575f58f7751013a0aa3a8bd1a83cf4e9a1970 (diff)
downloadaur-847daaa2a3f69cbd2a49fc43dedb40ea231f0bc1.tar.gz
fix building
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD5
2 files changed, 8 insertions, 3 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 23b9d8f7b8a..120e59a6615 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,9 @@
+# Generated by mksrcinfo v8
+# Wed Dec 16 12:19:29 UTC 2015
pkgbase = scangearmp-mg6200
pkgdesc = Canon Scanner Driver (for mg6200 series)
pkgver = 1.80
- pkgrel = 2
+ pkgrel = 3
url = http://support-au.canon.com.au/contents/AU/EN/0100393102.html
arch = i686
arch = x86_64
@@ -9,6 +11,8 @@ pkgbase = scangearmp-mg6200
makedepends = findutils
makedepends = grep
makedepends = gawk
+ makedepends = libusb-compat
+ makedepends = gimp
depends = sane
depends = gtk2
depends = libpng>=1.2.8
diff --git a/PKGBUILD b/PKGBUILD
index 063bc13ebff..0c507cb6acb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,14 +2,14 @@
_model=mg6200
pkgname=scangearmp-${_model}
pkgver=1.80
-pkgrel=2
+pkgrel=3
_pkgver=1.80-1
pkgdesc="Canon Scanner Driver (for ${_model} series)"
url="http://support-au.canon.com.au/contents/AU/EN/0100393102.html"
arch=('i686' 'x86_64')
license=('custom')
depends=('sane' 'gtk2' 'libpng>=1.2.8')
-makedepends=('findutils' 'grep' 'gawk')
+makedepends=('findutils' 'grep' 'gawk' 'libusb-compat' 'gimp')
source=("http://gdlp01.c-wss.com/gds/1/0100003931/01/scangearmp-source-${_pkgver}.tar.gz"
'fix_scanfile.patch'
'configures.patch')
@@ -31,6 +31,7 @@ _getlibdir() {
}
build() {
+ libdir=$(_getlibdir)
# Apply patch
cd ${srcdir}/scangearmp-source-${_pkgver}