diff options
author | trizt | 2021-12-19 00:35:05 +0100 |
---|---|---|
committer | trizt | 2021-12-19 00:35:05 +0100 |
commit | d49bd32fd74a1ec39e2a534dc5ff6709302ab4c2 (patch) | |
tree | a159016dba221e03b03f9a066dc1f16803ea773f /PKGBUILD | |
download | aur-brother-hl-j6000dw.tar.gz |
Brother-HL-J6000DW driver based on Brother's RPM release 1.0.0-0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..e423fa82df5d --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Janne Aho <aur@aho.hk> +pkgname="brother-hl-j6000dw" +pkgver="1.0.0" +pkgrel="1" +pkgdesc="Brother HL-J600DW CUPS driver." +url="https://support.brother.com/g/b/downloadtop.aspx?c=gb&lang=en&prod=hlj6000dw_eu" +license=('GPL') +arch=('i686' 'x86_64') +depends=('cups' 'ghostscript' 'psutils' 'sed' 'grep' 'file') +depends_x86_64=('lib32-gcc-libs' 'lib32-nss') +source=( + "https://download.brother.com/pub/com/linux/linux/packages/hlj6000dwpdrv-1.0.0-0.i386.rpm" +) +md5sums=( + '538ccf15961574ccab44db49630224be' +) + +package() { + mkdir -p "$pkgdir/usr/share/cups/model/" + mkdir -p "$pkgdir/usr/lib/cups/filter/" + mkdir -p "$pkgdir/usr/bin" + + ln -s "/opt/brother/Printers/hlj6000dw/cupswrapper/brother_hlj6000dw_printer_en.ppd" "$pkgdir/usr/share/cups/model/brother_hlj6000dw_printer_en.ppd" + ln -s "/opt/brother/Printers/hlj6000dw/cupswrapper/brother_lpdwrapper_hlj6000dw" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_hlj6000dw" + cp -r "$srcdir/opt/" "$pkgdir/opt/" + cp "$srcdir/usr/bin/brprintconf_hlj6000dw" "$pkgdir/usr/bin/" +} |