# Maintainer: igoz pkgname=brother-mfc-j4410dw pkgver=3.0.1 pkgrel=1 pkgdesc='Brother MFC-J4410DW printer drivers' license=('LicenseRef-Brother' 'GPL-2.0-only') url="https://support.brother.com/g/b/producttop.aspx?c=us&lang=en&prod=mfcj4410dw_us_eu_as" install="$pkgname.install" arch=('i686' 'x86_64') depends=('cups') depends_x86_64=('lib32-glibc') b2sums=('6f8e29eac74e1c58c0d5e0053010f41ea984f658cfd1efd6a9622b8444128b9d5147f070d966fd36388d6d0efc8d23602cd0ac0bfce0e37bcfc6c8c8e0055996' '1a016c85b8d6a8b11e4de0629a43f4b590a631358b4f09b087764d136a1402e3404829a7d67dddb2421d34bd3d58d35c070c9c33e7e28465c8c34bdc13e1be73' '2501008ba7c653a53ccd2683b90ff7da30ed0a28e1bd27864537a14bc45194f2aaae1ae8d7397700f6ba590a3138d26c51a013a56d27cd14a72f8641fb4104cf' ) source=("https://download.brother.com/welcome/dlf006581/mfcj4410dwlpr-3.0.1-1.i386.rpm" "https://download.brother.com/welcome/dlf006583/mfcj4410dwcupswrapper-3.0.1-1.i386.rpm" 'LICENSE' ) package() { install -Dm644 "$srcdir/opt/brother/Printers/mfcj4410dw/cupswrapper/brother_mfcj4410dw_printer_en.ppd" \ "$pkgdir/usr/share/cups/model/brother_mfcj4410dw_printer_en.ppd" install -Dm755 "$srcdir/opt/brother/Printers/mfcj4410dw/lpd/filtermfcj4410dw" \ "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_mfcj4410dw" cp -a "$srcdir/usr" "$pkgdir" cp -a "$srcdir/opt" "$pkgdir" install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" }