updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / dcp165c / PKGBUILD
blob289462d8f39d5d7a38b4e27983504657bd449400
1 pkgname=dcp165c
2 _printername=${pkgname/*-/}
3 pkgver=1.1.2
4 pkgrel=2
5 pkgdesc="CUPS driver for Brother DCP-165 printer"
6 arch=('any')
7 license=('custom:Brother Industries')
8 depends=('cups' 'tcsh')
9 makedepends=('rpmextract')
10 url="http://solutions.brother.com/linux/en_us/index.html"
11 source=(http://www.brother.com/pub/bsc/linux/dlf/dcp165ccupswrapper-1.1.2-2.i386.rpm http://www.brother.com/pub/bsc/linux/dlf/dcp165clpr-1.1.2-2.i386.rpm)
12 md5sums=('0bf765de513b8d1e37567ecf2c04897e' '22a0932c6547a682af4a16fb86100614' )
13 #install=dcp165c.install
14 build() {
15   cd "$startdir/pkg" || return 1
16   for n in $startdir/src/*.rpm; do
17     rpmextract.sh "$n" || return 1
18   done
20   sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/dcp165c/cupswrapper/cupswrapperdcp165c