diff options
author | Peter Hofmann | 2015-12-12 13:35:39 +0100 |
---|---|---|
committer | Peter Hofmann | 2015-12-12 13:35:39 +0100 |
commit | 09592211e65638fcf61b20c5ab35f4df7670b205 (patch) | |
tree | 68857b2c1660d728be0f6fec6fbdf8597d9488a9 | |
parent | be77ec713d6c27cbe08f7e9e933693cbc0a3d21a (diff) | |
download | aur-09592211e65638fcf61b20c5ab35f4df7670b205.tar.gz |
Account for Epson's new "bundle" structure
-rw-r--r-- | .SRCINFO | 12 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 16 insertions, 13 deletions
@@ -1,7 +1,9 @@ +# Generated by mksrcinfo v8 +# Sat Dec 12 12:35:13 UTC 2015 pkgbase = iscan-plugin-gt-s600 pkgdesc = iscan plugin for Epson Perfection V10. pkgver = 2.1.2_1 - pkgrel = 4 + pkgrel = 5 url = http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX install = gt-s600.install arch = i686 @@ -9,10 +11,10 @@ pkgbase = iscan-plugin-gt-s600 license = custom:AVASYS makedepends = rpmextract depends = iscan - source_i686 = http://a1227.g.akamai.net/f/1227/40484/7d/download.ebz.epson.net/dsc/f/01/00/01/58/35/77bf4c0a885f42e920ab9dd0a4ef2404e8863425/iscan-plugin-gt-s600-2.1.2-1.i386.rpm - md5sums_i686 = 0a3a83dbbb2630c5e9453cc78983ab81 - source_x86_64 = http://a1227.g.akamai.net/f/1227/40484/7d/download.ebz.epson.net/dsc/f/01/00/01/58/35/e7b4314a66167d0b48ef370bb428dd298482cef2/iscan-plugin-gt-s600-2.1.2-1.x86_64.rpm - md5sums_x86_64 = 9e36fd80b1f8ffa3f658b6a025d5e186 + source_i686 = https://download2.ebz.epson.net/iscan/plugin/gt-s600/rpm/x86/iscan-gt-s600-bundle-1.0.0.x86.rpm.tar.gz + sha1sums_i686 = 8afc7d3e0b2d88bcf247390ebc11db41188fc662 + source_x86_64 = https://download2.ebz.epson.net/iscan/plugin/gt-s600/rpm/x64/iscan-gt-s600-bundle-1.0.0.x64.rpm.tar.gz + sha1sums_x86_64 = b73bf2890251639f7d75523765281e8ced92c2e9 pkgname = iscan-plugin-gt-s600 @@ -3,7 +3,8 @@ pkgname=iscan-plugin-gt-s600 pkgver=2.1.2_1 -pkgrel=4 +pkgrel=5 +_bundlever=1.0.0 pkgdesc="iscan plugin for Epson Perfection V10." arch=('i686' 'x86_64') url="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX" @@ -11,21 +12,21 @@ license=('custom:AVASYS') depends=('iscan') makedepends=('rpmextract') install=gt-s600.install -md5sums_x86_64=('9e36fd80b1f8ffa3f658b6a025d5e186') -source_x86_64=(http://a1227.g.akamai.net/f/1227/40484/7d/download.ebz.epson.net/dsc/f/01/00/01/58/35/e7b4314a66167d0b48ef370bb428dd298482cef2/iscan-plugin-gt-s600-2.1.2-1.x86_64.rpm) -md5sums_i686=('0a3a83dbbb2630c5e9453cc78983ab81') -source_i686=(http://a1227.g.akamai.net/f/1227/40484/7d/download.ebz.epson.net/dsc/f/01/00/01/58/35/77bf4c0a885f42e920ab9dd0a4ef2404e8863425/iscan-plugin-gt-s600-2.1.2-1.i386.rpm) +sha1sums_x86_64=('b73bf2890251639f7d75523765281e8ced92c2e9') +source_x86_64=(https://download2.ebz.epson.net/iscan/plugin/gt-s600/rpm/x64/iscan-gt-s600-bundle-$_bundlever.x64.rpm.tar.gz) +sha1sums_i686=('8afc7d3e0b2d88bcf247390ebc11db41188fc662') +source_i686=(https://download2.ebz.epson.net/iscan/plugin/gt-s600/rpm/x86/iscan-gt-s600-bundle-$_bundlever.x86.rpm.tar.gz) package() { if [ "$CARCH" = "i686" ] then - _arch=i386 + _arch=x86 else - _arch=$CARCH + _arch=x64 fi cd "$srcdir" - rpmextract.sh "$pkgname-${pkgver//_/-}.$_arch.rpm" + rpmextract.sh "iscan-gt-s600-bundle-$_bundlever.$_arch.rpm/plugins/$pkgname-${pkgver//_/-}.$CARCH.rpm" mv usr "$pkgdir" if [ "$CARCH" = "x86_64" ] |