summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSam Sim2019-12-23 18:57:57 +0100
committerSam Sim2019-12-23 18:57:57 +0100
commit58441a780607ed00813d5e598fcda30dbe98343b (patch)
tree0e8e2f91f0c4b4529b21cff41c11799b1cbbeaa3
parent4fbe49748aef9a4fb01fb17bc03c7ad630be9a6c (diff)
downloadaur-58441a780607ed00813d5e598fcda30dbe98343b.tar.gz
Added dependencies, now based on original repo
-rw-r--r--.SRCINFO1
-rw-r--r--PKGBUILD7
2 files changed, 3 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index bc177f7ea14..bbcac7dbb87 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -8,6 +8,7 @@ pkgbase = brother-mfc-l2730dw
license = GPL
depends = cups
depends = perl
+ depends = ghostscript
source = https://download.brother.com/welcome/dlf103527/mfcl2730dwpdrv-4.0.0-1.i386.rpm
sha256sums = 5c82b2c224a6651678ba77261ad4952dc876f633b4c05f86d115ca71358861af
diff --git a/PKGBUILD b/PKGBUILD
index 09e4f5d70d7..787944b2385 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,5 +1,5 @@
# Maintainer: Sam Simons <contact at sam-simons dot nl> )
-# (Based on brother-mfc-l2713dw package by Angus Gratton)
+# (Based on brother-hll2395dw package by Daniel Wyatt)
pkgname=brother-mfc-l2730dw
pkgver=4.0.0
pkgrel=1
@@ -7,7 +7,7 @@ pkgdesc='Brother MFC-L2730DW printer driver'
arch=('i686' 'x86_64')
url='https://support.brother.com/g/b/producttop.aspx?c=gb&lang=en&prod=mfcl2730dw_us_eu_as'
license=('GPL')
-depends=('cups' 'perl')
+depends=('cups' 'perl' 'ghostscript')
source=(https://download.brother.com/welcome/dlf103527/mfcl2730dwpdrv-4.0.0-1.i386.rpm)
sha256sums=('5c82b2c224a6651678ba77261ad4952dc876f633b4c05f86d115ca71358861af')
@@ -18,9 +18,6 @@ package() {
sed -i 's|\\\/opt\\\/|\\\/usr\\\/|' "$pkgdir/usr/share/brother/Printers/MFCL2730DW/cupswrapper/lpdwrapper"
sed -i 's|\\\/opt\\\/|\\\/usr\\\/|' "$pkgdir/usr/share/brother/Printers/MFCL2730DW/lpd/lpdfilter"
- # /etc/printcap is managed by cups
- find "$pkgdir" -type f -name 'setupPrintcap*' -delete
-
# symlink for lpdwrapper so it correctly figures out the printer model from the path
install -d "$pkgdir/usr/lib/cups/filter/"
ln -s "/usr/share/brother/Printers/MFCL2730DW/cupswrapper/lpdwrapper" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_MFCL2730DW"