diff options
author | Richard Mathot | 2017-10-26 17:19:39 +0200 |
---|---|---|
committer | Richard Mathot | 2017-10-26 17:21:13 +0200 |
commit | d242ca551972a61cf0416183b21b9b2c4c1fc2df (patch) | |
tree | a2a09a780c6989e38fd22916eceaf2975cdcec2f /PKGBUILD | |
download | aur-d242ca551972a61cf0416183b21b9b2c4c1fc2df.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..ae921b760bbf --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Richard Mathot <rim@odoo.com> +pkgname=brother-dcpl2560dw-cups +pkgver=3.2.0_1 +pkgrel=1 +pkgdesc="Brother DCP-L2560DW CUPS drivers." +arch=('any') +url="http://support.brother.com/g/b/downloadend.aspx?c=gb&lang=en&prod=dcpl2560dw_eu&os=127&dlid=dlf101766_000&flang=4&type3=560" +license=('GPL2' 'custom:brother') +depends=('brother-dcpl2560dw-lpr' 'cups') +optdepends=('brscan4: scanner support.') +source=("http://download.brother.com/welcome/dlf101766/dcpl2560dwcupswrapper-${pkgver/_/-}.i386.rpm") +md5sums=('15fa66efa16fb3a5b67554385dfe8d4d') + +prepare() { + sed -ie '47,53c my $basedir = "/opt/brother/Printers/DCPL2560DW";' \ + ${srcdir}/opt/brother/Printers/DCPL2560DW/cupswrapper/brother_lpdwrapper_DCPL2560DW + +} + +package() { + mkdir -p ${pkgdir}/usr/share/cups/model/Brother + mkdir -p ${pkgdir}/usr/lib/cups/filter + cp ${srcdir}/opt/brother/Printers/DCPL2560DW/cupswrapper/brother-DCPL2560DW-cups-en.ppd ${pkgdir}/usr/share/cups/model/Brother + cp ${srcdir}/opt/brother/Printers/DCPL2560DW/cupswrapper/brother_lpdwrapper_DCPL2560DW ${pkgdir}/usr/lib/cups/filter +} + |