Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

PKGBUILD for cups-mc2430

By: a guest on Nov 29th, 2011  |  syntax: None  |  size: 0.84 KB  |  views: 20  |  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. # Contributor: Frank Ickstadt (frank dot ickstadt at gmail dot com)
  2. # For Konica Minolta magicolor 2430 Desklaser
  3.  
  4. pkgname=cups-mc2430dl
  5. pkgver=1.6.0
  6. pkgrel=1
  7. pkgdesc="CUPS driver for Konica Minolta magicolor 2430 Desklaser printer"
  8. url="http://konicaminolta.com/"
  9. license="GPL"
  10. arch=(any)
  11. depends=('libcups' 'ghostscript' 'lcms' 'jbigkit')
  12. source=(http://www.openprinting.org/download/printing/konicaminolta/magicolor2430DL-$pkgver.tar.gz)
  13. md5sums=('a97b4ee5c949ca791764457ead3a5b9c')
  14.  
  15. build() {
  16.         cd $startdir/src/magicolor2430DL-$pkgver
  17.         sed -i '/KM_PPDDIR/s#/usr/share/cups/model/KONICA_MINOLTA#"$datadir/cups/model"#' ./configure
  18.         sed -i "/KM_DATADIR/s#KONICA_MINOLTA/mc2430DL#$pkgname#" ./configure
  19.         ./configure --prefix=$startdir/pkg/usr
  20.         make || return 1
  21.         make install || return 1
  22.         rm $startdir/pkg/usr/share/cups-mc2430dl/COPYING
  23. }
  24.