summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c68eab118d6185b0513e0041a1ba5e6af55fac49 (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
30
31
# Contributor: bilux <i.bilux@gmail.com>
# Maintainer: josesj <josesj@gmail.com>

pkgname=brother-dcpj132w
pkgver=3.0.0
pkgrel=6
pkgdesc="Driver for the Brother DCP-j132w wifi multifuncional printer"
url="http://solutions.brother.com/linux/en_us/index.html"
license=('custom:brother')
depends=('a2ps' 'cups')
arch=('i686' 'x86_64')
install=${pkgname}.install
md5sums=('ca8f119dc59267f4a3ecb78276112057'
         'f297c41bdb7e1e6a98e8729564e58a01')

source=(
  "http://www.brother.com/pub/bsc/linux/dlf/dcpj132wcupswrapper-3.0.0-1.i386.rpm" \
	"http://www.brother.com/pub/bsc/linux/dlf/dcpj132wlpr-3.0.0-1.i386.rpm"
)

post_install() {
  /opt/brother/Printers/dcpj132w/cupswrapper/cupswrapperdcpj132w
}

package()
{
  install -d $pkgdir/usr/bin
  install -d $pkgdir/var/spool/lpd
  install -Dm755 "$srcdir"/usr/bin/brprintconf_dcpj132w "$pkgdir"/usr/bin/
  cp -R $srcdir/opt $pkgdir/opt
}