1 # Maintainer: garion < garion @ mailoo.org >
3 pkgname=iscan-plugin-gt-f670
6 pkgdesc="iscan plugin for Epson Perfection Photo V200 scanners and similar"
8 url="http://avasys.jp/eng/linux_driver/"
11 makedepends=('rpmextract')
12 install=gt-f670.install
14 if [ "$CARCH" = "i686" ]; then
15 source=(http://linux.avasys.jp/drivers/iscan-plugins/$pkgname/$pkgver/$pkgname-$pkgver-1.i386.rpm)
17 md5sums=('f53dec00730d3d28051edd1fb869de22')
18 elif [ "$CARCH" = "x86_64" ]; then
19 source=(http://linux.avasys.jp/drivers/iscan-plugins/$pkgname/$pkgver/$pkgname-$pkgver-1.x86_64.rpm)
21 md5sums=('8bb27b1f56823d1ec896d4ae7e3ba8f6')
26 rpmextract.sh $pkgname-$pkgver-1.$_ARCH.rpm
30 if [ "$CARCH" = "i686" ]; then
32 elif [ "$CARCH" = "x86_64" ]; then
35 install -d $pkgdir/usr/lib/iscan
36 install -m755 $srcdir/usr/$_lib/iscan/libesint7A.so.2.0.1 $pkgdir/usr/lib/iscan/
37 install -m755 $srcdir/usr/$_lib/iscan/libesint7A.so.2 $pkgdir/usr/lib/iscan/
38 install -m755 $srcdir/usr/$_lib/iscan/libesint7A.so $pkgdir/usr/lib/iscan/
39 install -d $pkgdir/usr/share/iscan
40 install -m644 $srcdir/usr/share/iscan/esfw7A.bin $pkgdir/usr/share/iscan