diff options
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 24 insertions, 21 deletions
@@ -1,18 +1,20 @@ -pkgbase = brother-hl1210w - pkgdesc = Brother HL-1210W CUPS driver. After installing this, install printer from CUPS web interface +# Generated by mksrcinfo v8 +# Tue Nov 13 05:33:09 UTC 2018 +pkgbase = brother-hl1218w + pkgdesc = Brother HL-1218W CUPS driver. After installing this, install printer from CUPS web interface pkgver = 3.0.1 - pkgrel = 2 - url = http://support.brother.com/g/b/downloadtop.aspx?c=au&lang=en&prod=hl1210w_eu_as + pkgrel = 1 + url = https://support.brother.com/g/b/downloadtop.aspx?c=cn&lang=zh&prod=hl1218w_cn arch = i686 arch = x86_64 license = GPL depends = lib32-glibc depends = cups>=2.1.2 depends = ghostscript - source = http://download.brother.com/welcome/dlf101549/hl1210wlpr-3.0.1-1.i386.rpm - source = http://download.brother.com/welcome/dlf101548/hl1210wcupswrapper-3.0.1-1.i386.rpm - md5sums = 76db4e113a1186f86410146b2ea39166 - md5sums = 0d7c2ba3a1a30b5babd855efac48b1fb + source = https://download.brother.com/welcome/dlf102479/hl1218wlpr-3.0.1-1.i386.rpm + source = https://download.brother.com/welcome/dlf102480/hl1218wcupswrapper-3.0.1-1.i386.rpm + md5sums = 04bf0181c0bd3b343457efa142ba9851 + md5sums = a265a4d1c96f59ad178c3c746f81bf98 -pkgname = brother-hl1210w +pkgname = brother-hl1218w @@ -1,17 +1,18 @@ -# Maintainer: wmax641 <spam at wmax641 dot website> -pkgname="brother-hl1210w" -pkgver="3.0.1" -pkgrel="2" -pkgdesc="Brother HL-1210W CUPS driver. After installing this, install printer from CUPS web interface" -url="http://support.brother.com/g/b/downloadtop.aspx?c=au&lang=en&prod=hl1210w_eu_as" +# Maintainer: Allen Zhong <moeallenz@gmail.com> +# Contributor: wmax641 <spam at wmax641 dot website> +pkgname=brother-hl1218w +pkgver=3.0.1 +pkgrel=1 +pkgdesc="Brother HL-1218W CUPS driver. After installing this, install printer from CUPS web interface" +url="https://support.brother.com/g/b/downloadtop.aspx?c=cn&lang=zh&prod=hl1218w_cn" license=('GPL') arch=('i686' 'x86_64') depends=('lib32-glibc' 'cups>=2.1.2' 'ghostscript' ) -md5sums=('76db4e113a1186f86410146b2ea39166' - '0d7c2ba3a1a30b5babd855efac48b1fb') +md5sums=('04bf0181c0bd3b343457efa142ba9851' + 'a265a4d1c96f59ad178c3c746f81bf98') source=( - http://download.brother.com/welcome/dlf101549/hl1210wlpr-3.0.1-1.i386.rpm \ - http://download.brother.com/welcome/dlf101548/hl1210wcupswrapper-3.0.1-1.i386.rpm + https://download.brother.com/welcome/dlf102479/hl1218wlpr-3.0.1-1.i386.rpm + https://download.brother.com/welcome/dlf102480/hl1218wcupswrapper-3.0.1-1.i386.rpm ) @@ -19,8 +20,8 @@ package() { mkdir -p "$pkgdir/usr/share/cups/model/" mkdir -p "$pkgdir/usr/lib/cups/filter/" - cp "$srcdir/opt/brother/Printers/HL1210W/cupswrapper/brother-HL1210W-cups-en.ppd" "$pkgdir/usr/share/cups/model/brother-HL1210W-cups-en.ppd" - cp "$srcdir/opt/brother/Printers/HL1210W/cupswrapper/brother_lpdwrapper_HL1210W" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_HL1210W" + cp "$srcdir/opt/brother/Printers/HL1218W/cupswrapper/brother-HL1218W-cups-en.ppd" "$pkgdir/usr/share/cups/model/brother-HL1218W-cups-en.ppd" + cp "$srcdir/opt/brother/Printers/HL1218W/cupswrapper/brother_lpdwrapper_HL1218W" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_HL1218W" cp -r "$srcdir/opt/" "$pkgdir/opt/" } |