summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pflug2018-09-04 07:36:17 -0400
committerDavid Pflug2018-09-04 07:36:17 -0400
commit08d45a91d1cfc22af6d6cc1ea88f5659fd85f994 (patch)
tree588f2718f462c519a687f00f88fa0558d2f0265f
parente8c8a670910e93344ac206473c14cd2364a04a73 (diff)
downloadaur-08d45a91d1cfc22af6d6cc1ea88f5659fd85f994.tar.gz
Remove unnecessary path-handling code
-rw-r--r--PKGBUILD10
1 files changed, 2 insertions, 8 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 608accd4673e..4678e755175c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,4 +1,5 @@
-# Maintainer: Phil Martella <philmartella@live.com>
+# Maintainer: David Pflug <david@pflug.email>
+# Based on package from Phil Martella <philmartella@live.com>
# Based on brother-hl3150cdw by MCMic <come.bernigaud@laposte.net>
pkgname="brother-hl3170cdw"
pkgver="1.1.4"
@@ -23,13 +24,6 @@ if test "$CARCH" == x86_64; then
depends+=('lib32-glibc')
fi
prepare() {
- # do not install in '/usr/local'
- if [ -d $srcdir/usr/local/Brother ]; then
- install -d $srcdir/usr/share
- mv $srcdir/usr/local/Brother/ $srcdir/usr/share/brother
- rm -rf $srcdir/usr/local
- sed -i 's|/usr/local/Brother|/usr/share/brother|g' `grep -lr '/usr/local/Brother' ./`
- fi
# setup cups-directories
install -d $srcdir/usr/share/cups/model
install -d $srcdir/usr/lib/cups/filter