summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 8 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7f15771a26a8..c966954dcb51 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,9 +1,9 @@
# Generated by mksrcinfo v8
-# Sat Sep 17 13:10:53 UTC 2016
+# Sat May 20 12:59:04 UTC 2017
pkgbase = brother-hl3040cn
pkgdesc = LPR and CUPS driver for the Brother HL3040cn
pkgver = 1.1.2
- pkgrel = 3
+ pkgrel = 4
url = http://solutions.brother.com/linux/en_us/
install = brother-hl3040cn.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 0e0386aeabcc..1ee57fce5b60 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Libernux <dutchman55@gmx.com>
pkgname="brother-hl3040cn"
pkgver="1.1.2"
-pkgrel=3
+pkgrel=4
pkgdesc="LPR and CUPS driver for the Brother HL3040cn"
arch=('i686' 'x86_64')
url="http://solutions.brother.com/linux/en_us/"
@@ -56,7 +56,11 @@ prepare() {
}
package() {
cp -R $srcdir/usr $pkgdir
- if [ -d $srcdir/opt ]; then cp -R $srcdir/opt $pkgdir; fi
+ if [ -d $srcdir/opt ]; then
+ cp -R $srcdir/opt $pkgdir
+ chown root:lp $srcdir/opt/brother/Printers/hl3040cn/inf/
+ chmod g+w $srcdir/opt/brother/Printers/hl3040cn/inf/
+ fi
install -m 644 -D cupswrapper-license.txt $pkgdir/usr/share/licenses/${pkgname}/cupswrapper-licence.txt
install -m 644 -D lpr-license.txt $pkgdir/usr/share/licenses/${pkgname}/lpr-licence.txt
}