summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5957eddff8dfcd662f7ce0b144fdb5e38b1f3706 (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
33
34
35
36
37
38
39
40
# Maintainer: hawkeye116477 <hawkeye116477 at gmail.com>
# Based on brother-dcpj315w PKGBUILD
pkgname=brother-dcpj925dw
pkgver=3.0
pkgrel=1
pkgdesc="Driver for the Brother DCP-J925DW wifi multifuncional printer"
url="http://solutions.brother.com/linux/en_us/index.html"
license=('custom:brother')
depends=('a2ps' 'cups')
makedepends=('rpmextract')
install="brother-dcpj925dw.install"
arch=('i686' 'x86_64')

md5sums=('b1c8011e07e6eeaebde3464d5e9f7f49'
         '9481020a4aa0cbde915cd52d0b0201fe'
         'd429fb9b1faa4e895d8af8045e83cb80')

source=(
	"fix_lp.patch" \
  "http://www.brother.com/pub/bsc/linux/dlf/dcpj925dwlpr-$pkgver.1-1.i386.rpm" \
	"http://www.brother.com/pub/bsc/linux/dlf/dcpj925dwcupswrapper-$pkgver.0-1.i386.rpm"
)

optdepends=(
	'brscan4: scanning support'
	'brscan-skey: scankey support'
)

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_dcpj925dw "$pkgdir"/usr/bin/
	cp -R $srcdir/opt $pkgdir/opt
}