updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / brother-dcp7065dn-lpr / PKGBUILD
blobe3e1344745bc6b54984b1728cdadee7c410a88ab
1 pkgname=brother-dcp7065dn-lpr
2 pkgver=2.1.0_1
3 pkgrel=1
4 pkgdesc='LPR driver for Brother laser printer DCP-7065DN'
5 arch=('i686' 'x86_64')
6 url='http://welcome.solutions.brother.com/bsc/public_s/id/linux/en/index.html'
7 license=('LGPL')
8 makedepends=('rpmextract')
9 source=("http://pub.brother.com/pub/com/bsc/linux/dlf/dcp7065dnlpr-${pkgver/_/-}.i386.rpm")
11 build() {
12     cd "$srcdir"
13     rpmextract.sh "dcp7065dnlpr-${pkgver/_/-}.i386.rpm"
16 package() {
17     cd "$srcdir"
18     find . -type f | while read file
19     do
20         local newfile="${pkgdir}/${file}"
21         install -DT "$file" "$newfile"
22     done
23     chmod a+w "${pkgdir}/usr/local/Brother/Printer/DCP7065DN/inf/brDCP7065DNrc"
24     chmod a+w "${pkgdir}/usr/local/Brother/Printer/DCP7065DN/inf"
28 md5sums=('b0582aaca638f158abc0de4048128793')