summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMark Mykkanen2021-01-03 14:53:55 -0600
committerMark Mykkanen2021-01-03 14:55:22 -0600
commit300fbf065e2037be0b23a52e0d07127ae17f30aa (patch)
treea4d1fe57fa111ab96bf989b15f7072ff1a400927
parent4634c994281d5aefc5afdae1cb41cef640745bd0 (diff)
downloadaur-300fbf065e2037be0b23a52e0d07127ae17f30aa.tar.gz
Set wrapper source as executable
-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*