updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / dcp195c / PKGBUILD
blob3962b2283104ecebb19b7ceb4f8728d16c5649cb
1 # Contributor: Łukasz Jędrzejewski <lukasz892 at gmail dot com>
2 pkgname=dcp195c
3 pkgver=1.1.2
4 pkgrel=1
5 pkgdesc="CUPS driver for Brother DCP-195 printer"
6 arch=('i686')
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/dcp195clpr-1.1.2-1.i386.rpm \
12     http://www.brother.com/pub/bsc/linux/dlf/dcp195ccupswrapper-1.1.2-2.i386.rpm)
13 md5sums=('d4e8c28c539face3a1a40cac84ba124a'
14          'bffabf399b2e566211d5cd136edde658')
15 build() {
16     cd "$startdir/pkg" || return 1
17     for n in $startdir/src/*.rpm; do
18         rpmextract.sh "$n" || return 1
19     done 
20     sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/dcp195c/cupswrapper/cupswrapperdcp195c