diff options
author | Valère Monseur | 2015-09-29 20:06:53 +0200 |
---|---|---|
committer | Valère Monseur | 2015-09-29 20:06:53 +0200 |
commit | 655dde225518556d828b5b6dc4024cd930cd53b2 (patch) | |
tree | 6dece6d2187c573cf389d4b0207b1fced2ec91ca /PKGBUILD | |
parent | d5ec44de1f9286aba6c95dc5eec3b011a0f48c22 (diff) | |
download | aur-655dde225518556d828b5b6dc4024cd930cd53b2.tar.gz |
add missing dependencies and modify patch parameter
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 11 |
1 files changed, 4 insertions, 7 deletions
@@ -3,12 +3,13 @@ pkgname="brother-mfc-j5320dw" pkgver="3.0.1" -pkgrel=1 +pkgrel=2 pkgdesc="LPR and CUPS driver for the Brother MFC-J5320DW" arch=('i686' 'x86_64') url="http://support.brother.com/g/b/producttop.aspx?c=eu_ot&lang=en&prod=mfcj5320dw_eu_as" license=('custom:Brother commercial license') -depends=('cups') +depends=('cups' 'ghostscript' 'poppler' 'a2ps' 'psutils') +depends_x86_64=('lib32-glibc') install="$pkgname.install" source=("http://download.brother.com/welcome/dlf101593/mfcj5320dwlpr-3.0.1-1.i386.rpm" "http://download.brother.com/welcome/dlf101594/mfcj5320dwcupswrapper-3.0.1-1.i386.rpm" @@ -19,10 +20,6 @@ md5sums=('d5c16819345214479c903478cdac96a5' '310f8424517f3df127d39393ceaebb6f' 'bf894a1a51baf6055a6c58ecf43c9782') -if [[ "$CARCH" == "x86_64" ]]; then - depends+=('lib32-glibc') -fi - prepare() { # do not install in /usr/local if [ -d "${srcdir}"/usr/local/Brother ]; then @@ -65,7 +62,7 @@ prepare() { # patch filter for PDF printing to avoid error: # ERROR: typecheck # OFFENDING COMMAND: resourcestatus - sed -i 's|pdf2ps|pdftocairo -q -ps -origpagesizes|g' "${srcdir}"/opt/brother/Printers/mfcj5320dw/lpd/filtermfcj5320dw + sed -i 's|pdf2ps|pdftocairo -q -ps|g' "${srcdir}"/opt/brother/Printers/mfcj5320dw/lpd/filtermfcj5320dw } package() { |