diff options
author | FeLiX LiM | 2019-02-26 13:16:41 +0800 |
---|---|---|
committer | FeLiX LiM | 2019-02-26 13:16:41 +0800 |
commit | fe0bbc7fc98ea9952402e16bedbe1f6e21dfae6e (patch) | |
tree | c277749ea0344ae025dcd5f39fa3216b9dbfb7f5 /PKGBUILD | |
download | aur-brother-dcp1618w.tar.gz |
INIT
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..2391400f7dab --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: nyxkn <nyxkn [at] yahoo [dot] com> +# Maintainer: FeLiX LiM <linxinjie1839 [at] gmail [dot] com> +pkgname=brother-dcp1618w +pkgver=1.0.0 +pkgrel=1 +pkgdesc="LPR and CUPS driver for the Brother DCP-1618W printers" +arch=('i686' 'x86_64') +url="https://support.brother.com/g/b/producttop.aspx?c=cn&lang=zh&prod=dcp1618w_cn" +license=('GPL2') +depends=('cups') +depends_x86_64=('lib32-glibc') +optdepends=('brscan4: scanner support') +source=(https://download.brother.com/welcome/dlf101854/dcp1618wlpr-3.0.1-1.i386.rpm + https://download.brother.com/welcome/dlf101855/dcp1618wcupswrapper-3.0.1-1.i386.rpm) +md5sums=('822191dc29c82f46fab08c90fb513cbd' + 'eed9c36d912f27877fab7f674fe59f48') + +package() { + # cp -r ${srcdir}/etc ${pkgdir}/ + cp -r ${srcdir}/opt ${pkgdir}/ + cp -r ${srcdir}/var ${pkgdir}/ + + mkdir -p ${pkgdir}/usr/share/cups/model + mkdir -p ${pkgdir}/usr/lib/cups/filter + ln -s /opt/brother/Printers/DCP1618W/cupswrapper/brother-DCP1618W-cups-en.ppd \ + ${pkgdir}/usr/share/cups/model + ln -s /opt/brother/Printers/DCP1618W/cupswrapper/brother_lpdwrapper_DCP1618W \ + ${pkgdir}/usr/lib/cups/filter +} |