summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c75dc9abaa4afc0d4abbdcf5fbb65d628b36d058 (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
32
pkgname=brother-dcpj963n
pkgver=1.0.0
pkgrel=1
pkgdesc="Driver for the Brother DCP-J963N wifi multifuncional printer"
url="http://solutions.brother.com/linux/en_us/index.html"
license=('custom:brother')
depends=('a2ps' 'cups')
install="brother-dcpj963n.install"
arch=('i686' 'x86_64')

md5sums=('d1a756081b85dd136d44a9a4dae7f052'
         '6f9544ccedc82735bd5c325f052cbf2a'
         '8bc2ef415bd5522de8557d4f7d1d2d37')

source=(
	"fix_lp.patch" \
    "http://download.brother.com/welcome/dlf102170/dcpj963nlpr-$pkgver-0.i386.rpm" \
    "http://download.brother.com/welcome/dlf102171/dcpj963ncupswrapper-$pkgver-0.i386.rpm"
)

build() {
  cd "$srcdir"
	patch -Np0 < fix_lp.patch
}

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