This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Arch Linux Pkgbuild

By: a guest on Nov 12th, 2012  |  syntax: Bash  |  size: 1.08 KB  |  views: 238  |  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. # Maintainer: Heiko Baums <heiko@baums-on-web.de>
  2. # Contributor: Quentin Foussette <quentinf7@gmail.com>
  3. # Updated By: John Wargo
  4. #  Updated:
  5. #  Changed pkgver, thus changing download link
  6. #  Updated md5sums
  7.  
  8. pkgname=epson-inkjet-printer-escpr
  9. pkgver=1.2.2
  10. pkgrel=1
  11. pkgdesc="A common Linux printer driver for Epson Multifonction Inkjet Printers."
  12. arch=('i686' 'x86_64')
  13. url="https://www.epson.com"
  14. license=('GPL')
  15. depends=('cups' 'gutenprint')
  16. source=(http://download.ebz.epson.net/dsc/op/stable/SRPMS/$pkgname-$pkgver-1lsb3.2.src.rpm)
  17.  
  18. build() {
  19.   cd "$srcdir"
  20.   tar xzvf "$pkgname-$pkgver-1lsb3.2.tar.gz"
  21.   cd "$pkgname-$pkgver"
  22.   sed -i "s:/opt/epson-inkjet-printer-escpr/cups/lib/filter:/usr/lib/cups/filter:g" src/Makefile.in
  23.   sed -i "s:/opt/epson-inkjet-printer-escpr/cups/lib/filter:/usr/lib/cups/filter:g" src/Makefile.am
  24.   ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --libexecdir=/usr/lib --libdir=/usr/lib
  25.   make
  26. }
  27.  
  28. package() {
  29.   cd "$srcdir/$pkgname-$pkgver"
  30.   make DESTDIR="$pkgdir" install
  31. }
  32. md5sums=('7d3a58dd09cf38dd3c35c199af029a28')
clone this paste RAW Paste Data