Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

iscan 2.24.0-4 PKGBUILD

By: a guest on Apr 4th, 2010  |  syntax: Bash  |  size: 1.53 KB  |  hits: 341  |  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: Alessio 'alexwizard' Sergi <sergi dot alessio at gmail dot com>
  2. # Contributor & Maintainer: mutlu_inek <mutlu_inek@yahoo.de>
  3. # Contributor: Florian "gust" Golemo <fgolemo at g-services dot net>
  4.  
  5. pkgname=iscan
  6. pkgver=2.24.0
  7. pkgrel=4
  8. pkgdesc="A front-end for EPSON scanner/all-in-ones"
  9. arch=('i686' 'x86_64')
  10. url="http://www.avasys.jp/english/linux_e/dl_scan.html"
  11. license=('GPL2' 'custom:AVASYSPL')
  12. depends=('gtk2' 'sane')
  13. makedepends=('pkgconfig')
  14. conflicts=('iscan-plugin-cx4400' 'iscan-legacy')
  15. backup=('etc/sane.d/epkowa.conf')
  16. install=${pkgname}.install
  17. options=('!libtool')
  18. source=(http://linux.avasys.jp/drivers/${pkgname}/${pkgver}/${pkgname}_${pkgver}-${pkgrel}.tar.gz \
  19.         epkowa.conf iscan.png iscan.desktop)
  20. md5sums=('a8aea677904411db3d39658e5a6ee21e' '8a82eaf3fdc720e6f424ab30a6bae47b'
  21.          '9dc7e21aae4bd7d1c4ca96cfa3dafaa7' '82a67a6ad8d2464492106797f5acab55')
  22.  
  23. build() {
  24.   cd ${srcdir}/${pkgname}-${pkgver}
  25.  
  26.   ./configure --prefix=/usr --enable-jpeg --enable-png \
  27.                 --enable-frontend --with-pic || return 1
  28.   make || return 1
  29.   make DESTDIR=${pkgdir} install || return 1
  30.  
  31.   # install epkowa.conf template, icon and desktop file
  32.   install -Dm644 ${srcdir}/epkowa.conf ${pkgdir}/etc/sane.d/epkowa.conf
  33.   install -Dm644 ${srcdir}/iscan.png ${pkgdir}/usr/share/pixmaps/iscan.png
  34.   install -Dm644 ${srcdir}/iscan.desktop ${pkgdir}/usr/share/applications/iscan.desktop
  35.   install -Dm644 ${srcdir}/${pkgname}-${pkgver}/non-free/AVASYSPL.en.txt ${pkgdir}/usr/share/licenses/$pkgname/AVASYSPL
  36. }