updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / iscan-plugin-gt-x720 / PKGBUILD
blob4091de424f41f3af5354661f536c29a2254d1084
1 # Contributor: Ian Heafer <archlinux at studio oneword turnip dot net>
2 pkgname=iscan-plugin-gt-x720
3 pkgver=0.1.1
4 pkgrel=1
5 pkgdesc="iscan plugin for Epson Perfection V30 scanner."
6 arch=('i686' 'x86_64')
7 url="http://linux.avasys.jp/drivers/iscan-plugins/esci-interpreter-gt-f720/0.1.1/"
8 license=('custom')
9 depends=('iscan')
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')
17 build() {
18   cd "$startdir"
19   deb2targz $(basename ${source[0]})
20   tar -xf $(basename ${source[0]//.deb/.tar.gz})
21   mv usr "$pkgdir"
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