1 # Contributor: Gianni Vialetto <g dot vialetto at gmail dot com>
2 # Contributor: Brian Miller :
3 # Contributor: Tom Kuther <gimpel@sonnenkinder.org>
5 pkgname=iscan-plugin-network
6 _pkgintname=iscan-network-nt
8 _pkgver=1.1.0-2 # workaround for hyphen in package version
10 pkgdesc="Plugin for using Epson scanners with ISCAN over network"
11 arch=('i686' 'x86_64')
12 url="http://avasys.jp/eng/linux_driver/"
13 license=('custom:AVASYSPL')
20 install=iscan-plugin-network.install
21 if [[ ${CARCH} = 'x86_64' ]]; then
22 source=(http://linux.avasys.jp/drivers/scanner-plugins/${_pkgintname}/${pkgver}/${_pkgintname}_${_pkgver}_amd64.deb)
23 md5sums=('cd2adbc995715055c2fbad8059011e83')
25 source=(http://linux.avasys.jp/drivers/scanner-plugins/${_pkgintname}/${pkgver}/${_pkgintname}_${_pkgver}_i386.deb)
26 md5sums=('95293cf0c599f3878e7a8f418f48c3d7')
33 if [[ ${CARCH} = 'x86_64' ]]
35 bsdtar -xf ${_pkgintname}_${_pkgver}_amd64.deb data.tar.gz
37 bsdtar -xf ${_pkgintname}_${_pkgver}_i386.deb data.tar.gz
40 bsdtar -xf data.tar.gz
43 mkdir -p $pkgdir/usr/lib/
44 mkdir -p $pkgdir/usr/share/licenses/${pkgname}/
46 cp -R usr/lib/* $pkgdir/usr/lib/
47 install -Dm644 usr/share/doc/${_pkgintname}/AVASYSPL.en.txt $pkgdir/usr/share/licenses/${pkgname}/AVASYSPL