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 | |
download | aur-d49bd32fd74a1ec39e2a534dc5ff6709302ab4c2.tar.gz |
Brother-HL-J6000DW driver based on Brother's RPM release 1.0.0-0
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..9a9b0fc95587 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = brother-hl-j6000dw + pkgdesc = Brother HL-J600DW CUPS driver. + pkgver = 1.0.0 + pkgrel = 1 + url = https://support.brother.com/g/b/downloadtop.aspx?c=gb&lang=en&prod=hlj6000dw_eu + arch = i686 + arch = x86_64 + license = GPL + depends = cups + depends = ghostscript + depends = psutils + depends = sed + depends = grep + depends = file + source = https://download.brother.com/pub/com/linux/linux/packages/hlj6000dwpdrv-1.0.0-0.i386.rpm + md5sums = 538ccf15961574ccab44db49630224be + depends_x86_64 = lib32-gcc-libs + depends_x86_64 = lib32-nss + +pkgname = brother-hl-j6000dw 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/" +} |