updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / iscan-plugin-gt-x820 / PKGBUILD
blobb92d4b9c869ff47bd7f28dd3b854f189fcf49a75
1 # Contributor: Frank Phillips <frankalso[at]gmail[dot]com>
2 pkgname=iscan-plugin-gt-x820
3 pkgver=2.1.2
4 _realpkgver=2.1.2-1
5 pkgrel=1
6 pkgdesc="iscan plugin for Epson Colorio GT-X820/Perfection Photo V600 scanners."
7 arch=('i686' 'x86_64')
8 url="http://www.avasys.jp/english/linux_e/"
9 license=('custom')
10 depends=('iscan')
11 install=gt-x820.install
13 [ "$CARCH" = x86_64   ] && 
14 source=(http://linux.avasys.jp/drivers/iscan-plugins/iscan-plugin-gt-x820/$pkgver/$pkgname-${_realpkgver}.x86_64.rpm)
15 [ "$CARCH" = i686   ] && 
16 source=(http://linux.avasys.jp/drivers/iscan-plugins/iscan-plugin-gt-x820/$pkgver/$pkgname-${_realpkgver}.i386.rpm)
18 [ "$CARCH" = x86_64   ] && md5sums=('1ef8f558f3c521d5da815e3b45ceda9a')
19 [ "$CARCH" = i686   ] && md5sums=('95199fc6ede9e59758e9bfb4b7d16b42')
21 package() {
22   cd "$srcdir"
23   mv usr "$pkgdir"
24   mkdir "$pkgdir"/usr/share/licenses
25   mv "$pkgdir"/usr/share/doc/$pkgname-$pkgver "$pkgdir"/usr/share/licenses/
26   rm -rf "$pkgdir"/usr/share/doc