summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD3
2 files changed, 3 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5feae2d43420..6d6164fd89e4 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,7 @@
-# Generated by makepkg 5.0.0
-# Thu Feb 18 20:39:52 UTC 2016
pkgbase = brother-hl2170w
pkgdesc = LPR and CUPS driver for the Brother HL2170W
pkgver = 2.0.2_1
- pkgrel = 1
+ pkgrel = 2
url = http://solutions.brother.com/linux/en_us/
install = brother-hl2170w.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 161c02ed07cd..ee8d50eeefe7 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: Mark Mykkanen <quickcougar at gmail dot com>
pkgname="brother-hl2170w"
pkgver="2.0.2_1"
-pkgrel=1
+pkgrel=2
pkgdesc="LPR and CUPS driver for the Brother HL2170W"
arch=('i686' 'x86_64')
url="http://solutions.brother.com/linux/en_us/"
@@ -46,6 +46,7 @@ prepare() {
sed -i 's|/model/Brother|/model|g' $_wrapper_source
sed -i 's|lpinfo|echo|g' $_wrapper_source
export srcdir=$srcdir
+ chmod +x ./$_wrapper_source
./$_wrapper_source
sed -i 's|$srcdir||' $srcdir/usr/lib/cups/filter/*lpdwrapper*
sed -i "s|$srcdir||" $srcdir/usr/lib/cups/filter/*lpdwrapper*