diff options
author | Sebastian Lau | 2017-05-20 14:59:10 +0200 |
---|---|---|
committer | Sebastian Lau | 2017-05-20 14:59:10 +0200 |
commit | c6a61a229a07e58a6a464ff13d778adc03c1d838 (patch) | |
tree | 88d55ec6e49040880683dec736b1a6f8e767ae7a /PKGBUILD | |
parent | 31503b12f85c2cf82c04a2d83d09b4e7e3befe73 (diff) | |
download | aur-brother-hl3040cn.tar.gz |
Patch permissions
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -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 } |