diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 8 |
2 files changed, 8 insertions, 4 deletions
@@ -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 @@ -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 } |