1 # Contributor: Ian Heafer <archlinux at studio oneword turnip dot net>
2 pkgname=iscan-plugin-gt-x720
5 pkgdesc="iscan plugin for Epson Perfection V30 scanner."
7 url="http://linux.avasys.jp/drivers/iscan-plugins/esci-interpreter-gt-f720/0.1.1/"
10 makedepends=('deb2targz')
11 install=gt-x720.install
12 source=(http://linux.avasys.jp/drivers/iscan-plugins/esci-interpreter-gt-f720/${pkgver}/esci-interpreter-gt-f720_${pkgver}-2_i386.deb)
13 [[ $CARCH == "x86_64" ]] && \
14 source=(http://linux.avasys.jp/drivers/iscan-plugins/esci-interpreter-gt-f720/${pkgver}/esci-interpreter-gt-f720_${pkgver}-2_amd64.deb)
15 md5sums=('c91f57f882583c0e0c5eb0c8f77389fc')
16 [[ $CARCH == "x86_64" ]] && md5sums=('b1450f60f089b3fa051fa0f12967ef17')
19 deb2targz $(basename ${source[0]})
20 tar -xf $(basename ${source[0]//.deb/.tar.gz})
22 mkdir $pkgdir/usr/share/licenses
23 mv $pkgdir/usr/share/doc/esci-interpreter-gt-f720 $pkgdir/usr/share/licences/
24 rmdir $pkgdir/usr/share/doc