1 # Maintainer: Ilmari Repo <ilmari@gmail.com>
2 # Based on the PKGBUILD from http://aur.archlinux.org/packages.php?ID=40933
4 pkgname=iscan-plugin-gt-x750
7 pkgdesc="iscan plugin for Epson Perfection 4490 / GT-X750"
9 url="http://avasys.jp/eng/linux_driver/"
12 makedepends=('rpmextract')
13 install=gt-x750.install
16 if [ "$CARCH" = "i686" ]; then
17 source=(http://linux.avasys.jp/drivers/iscan-plugins/iscan-plugin-gt-x750/2.1.2/${pkgname}-${_VERSION}.i386.rpm)
19 md5sums=('e21039469368411d43ca9bfe4e96deb8')
20 elif [ "$CARCH" = "x86_64" ]; then
21 source=(http://linux.avasys.jp/drivers/iscan-plugins/iscan-plugin-gt-x750/2.1.2/${pkgname}-${_VERSION}.x86_64.rpm)
23 md5sums=('62446ab303d4ac55f17e8495ad97b8a6')
28 rpmextract.sh ${pkgname}-${_VERSION}.${_ARCH}.rpm
30 if [ "$CARCH" = "x86_64" ]; then mv ${pkgdir}/usr/lib64 ${pkgdir}/usr/lib; fi
31 mkdir -p ${pkgdir}/usr/share/licenses/iscan
32 mv ${pkgdir}/usr/share/doc/${pkgname}-${_VERSION%-*}/AVASYSPL.en.txt ${pkgdir}/usr/share/licenses/iscan/
33 rm -rf ${pkgdir}/usr/share/doc