updated on Sat Jan 21 20:03:50 UTC 2012
[aur-mirror.git] / dcp145c / PKGBUILD
blobc530a50ddcc4b256bbd52e2bb5a148fb271da3d8
1 pkgname=dcp145c
2 pkgver=1.1.2
3 pkgrel=2
4 license=('GPL' 'custom:Brother')
5 arch=('i686')
6 pkgdesc="Brother DCP-145C Printer driver"
7 url="http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/download_prn.html#DCP-145C"
8 depends=('cups' 'ghostscript')
9 install=$pkgname.install
10 source=(http://pub.brother.com/pub/com/bsc/linux/dlf/${pkgname}lpr-$pkgver-$pkgrel.i386.rpm
11         http://pub.brother.com/pub/com/bsc/linux/dlf/${pkgname}cupswrapper-$pkgver-$pkgrel.i386.rpm
12         readme)
13 md5sums=('bd8b8ab373172266eed34040658344be'
14          '58ec23ccb3e8d7617006b9659fb36a95'
15          'b7da5fa7b76a5a2478098fa759773dbf')
17 package() {
18   cp -r $srcdir/usr $pkgdir
19   sed -i 's|/etc/init.d/cups |/etc/rc.d/cupsd |g' $pkgdir/usr/local/Brother/Printer/$pkgname/cupswrapper/cupswrapper$pkgname