summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorNaleo2022-03-28 09:51:37 -1000
committerNaleo2022-03-28 09:51:37 -1000
commit0b3f36e548e1987a573dfa8165b323ddbcc18306 (patch)
treee21d256dc97ace176747484cb794616b282986f1
parent1faad2f40c81c172633eaeedd01f8a6b50a43963 (diff)
downloadaur-0b3f36e548e1987a573dfa8165b323ddbcc18306.tar.gz
fix for cups filter being renamed
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD2
2 files changed, 3 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
index be700800418e..0e4d09b66fb1 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -2,6 +2,7 @@ pkgbase = brother-mfc-l5900dw
pkgdesc = LPR and CUPS driver for the Brother MFC-L5900DW
pkgver = 3.5.1
pkgrel = 1
+ epoch = 2
url = http://solutions.brother.com/linux/en_us/
install = brother-mfc-l5900dw.install
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 89a8ebca0d98..ae9ace53adfb 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,6 +2,7 @@
pkgname="brother-mfc-l5900dw"
pkgver="3.5.1"
pkgrel=1
+epoch=2
pkgdesc="LPR and CUPS driver for the Brother MFC-L5900DW"
arch=('i686' 'x86_64')
url="http://solutions.brother.com/linux/en_us/"
@@ -33,6 +34,7 @@ prepare() {
# copy ppd and filter file to their destination dirs
cd `find . -type d -name 'cupswrapper'`
cp *lpdwrapper* "$srcdir/usr/lib/cups/filter/"
+ cp "$srcdir/usr/lib/cups/filter/lpdwrapper" "$srcdir/usr/lib/cups/filter/brother_lpdwrapper_MFCL5900DW"
cp *.ppd "$srcdir/usr/share/cups/model/"
# set the basedir to an absolute path in the perl-lpdwrapper-script
# the relative path,generated on the basis of the caller, does not work in this case