Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for Brother DCP150C on AUR (package dcp150c)

By: GiorgioAresu on Apr 12th, 2013  |  syntax: None  |  size: 0.82 KB  |  views: 36  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. pkgname=dcp150c
  2. _printername=${pkgname/*-/}
  3. pkgver=1.0.1
  4. pkgrel=1
  5. pkgdesc="CUPS driver for Brother DCP-150C printer"
  6. arch=('i686' 'x86_64')
  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://pub.brother.com/pub/com/bsc/linux/dlf/${_printername}cupswrapper-$pkgver-$pkgrel.i386.rpm http://pub.brother.com/pub/com/bsc/linux/dlf/${_printername}lpr-$pkgver-$pkgrel.i386.rpm)
  12.  
  13. md5sums=('0b0b0e740cb2c30d8709ac564efedf3a'
  14.          'f2b4c293af050f76d47f0c480d166bc3')
  15. install=dcp150c.install
  16. build() {
  17.   cd "$pkgdir" || return 1
  18.   for n in $startdir/src/*.rpm; do
  19.     rpmextract.sh "$n" || return 1
  20.   done
  21.  
  22.   sed -i 's|/etc/init.d|/etc/rc.d|' $pkgdir/usr/local/Brother/Printer/dcp150c/cupswrapper/cupswrapperdcp150c
  23.  
  24. }
clone this paste RAW Paste Data