blob: c3fb9f70978c21386b0c251b3c3dd3dfbd0f67ca (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: erickpires <pires at erickpires dot com>
pkgname="brother-hl1200"
pkgver="3.0.1"
pkgrel="1"
pkgdesc="Brother HL-1200 CUPS driver (based on the HL-1210W driver package). After installing this, connect the printer and install it from CUPS web interface (default localhost:631)"
url="http://support.brother.com/g/b/downloadlist.aspx?c=us_ot&lang=en&prod=hl1202_us&os=127"
license=('GPL')
arch=('i686' 'x86_64')
depends=('lib32-glibc' 'cups>=2.1.2' )
md5sums=('de895b93a9cdb562c5b8be633ae6c0ad'
'79a5b0119985bc89c6dc16dfee6e9c1b')
source=(
http://download.brother.com/welcome/dlf101869/hl1200lpr-3.0.1-1.i386.rpm \
http://download.brother.com/welcome/dlf101870/hl1200cupswrapper-3.0.1-1.i386.rpm
)
package() {
mkdir -p "$pkgdir/usr/share/cups/model/"
mkdir -p "$pkgdir/usr/lib/cups/filter/"
cp "$srcdir/opt/brother/Printers/HL1200/cupswrapper/brother-HL1200-cups-en.ppd" "$pkgdir/usr/share/cups/model/brother-HL1200-cups-en.ppd"
cp "$srcdir/opt/brother/Printers/HL1200/cupswrapper/brother_lpdwrapper_HL1200" "$pkgdir/usr/lib/cups/filter/brother_lpdwrapper_HL1200"
cp -r "$srcdir/opt/" "$pkgdir/opt/"
}
|