Advertisement
Guest User

PKGBUILD for Brother MFC-7360N CUPS and LPR drivers

a guest
Sep 16th, 2014
456
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.86 KB | None | 0 0
  1. pkgname=brother-mfc7360n
  2. _printername=MFC7360N
  3. pkgver="2.0.4"
  4. lprpkgver="2.1.0"
  5. pkgrel=2
  6. pkgdesc="CUPS and LPR driver for Brother MFC7360 printer"
  7. arch=('i686' 'x86_64')
  8. license=('custom:Brother Industries')
  9. depends=('cups' 'tcsh')
  10. makedepends=('rpmextract')
  11. url="http://solutions.brother.com/linux/en_us/index.html"
  12. source=(http://www.brother.com/pub/bsc/linux/dlf/cupswrapper${_printername}-$pkgver-$pkgrel.i386.rpm \
  13.         http://www.brother.com/pub/bsc/linux/dlf/mfc7360nlpr-$lprpkgver-1.i386.rpm)
  14. md5sums=('2871ab07e085c41609593522c3045f32'
  15.          '1b836f70da84f0b8d27b9657774598a5')
  16.  install=mfc7360n.install
  17. build() {
  18.    cd "$pkgdir" || return 1
  19.    for n in $srcdir/*.rpm; do
  20.      rpmextract.sh "$n" || return 1
  21.    done
  22.  
  23.    sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/MFC7360N/cupswrapper/cupswrapperMFC7360N-2.0.4
  24. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement