iscan-plugin-gt-s650: update to 1.0.0.3 (6.2.2.1)

The newer non-free bundle started with (probably) version 1.0.0.0 again
so we need to revert the previous version + revision to permit updates
to this version number.

This is untested as I have no Epson scanner available.
This commit is contained in:
Jürgen Buchmüller 2020-11-18 12:39:41 +01:00
parent 181b421906
commit 720ec899c0

View file

@ -1,27 +1,34 @@
# Template file for 'iscan-plugin-gt-s650'
pkgname=iscan-plugin-gt-s650
version=1.1.0
revision=4
repository=nonfree
maintainer="Orphaned <orphan@voidlinux.org>"
depends="sane-epkowa"
license="AVASYS"
homepage="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
short_desc="Epson scanner plugin for GT-S650, Epson Perfection V19 and Epson Perfection V39"
_bundle_version=1.0.0
if [ "$XBPS_MACHINE" = "x86_64" ]; then
_arch=x64
checksum=d27e55652942f7c6e5f7f1b09296b742751c872e3963f8167e1f66fe360d9226
else
_arch=x86
checksum=6f12a5d7b3c1a08a6c5f8762e1cff7ee89063eb73ec723f1822d3fa10c5b50f9
fi
wrksrc="iscan-gt-s650-bundle-${_bundle_version}.${_arch}.deb"
distfiles="https://download2.ebz.epson.net/iscan/plugin/gt-s650/deb/${_arch}/iscan-gt-s650-bundle-${_bundle_version}.${_arch}.deb.tar.gz"
reverts="1.1.0_4"
version=1.0.0.3
revision=1
archs="i686 x86_64"
_bundle_version=6.6.2.1
depends="sane-epkowa"
short_desc="Epson scanner plugin for GT-S650, Perfection V19 and Perfection V39"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:AVASYS"
homepage="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
case "$XBPS_TARGET_MACHINE" in
x86_64)
_arch=x64
_cpu=x86_64
checksum=c28d4bb53aecda0eeadf3dac9a9eaef0e5616e7743de31f6ae394d1ab70ce982
;;
i686)
_arch=x86
_cpu=i686
checksum=c6d4a6c3bc454bddaf3b38caef30c18bd81b8c749bed0e2e96dc448d383627b8
;;
esac
distfiles="https://download2.ebz.epson.net/epsonscan2/common/deb/${_arch}/epsonscan2-bundle-${_bundle_version}.${_cpu}.deb.tar.gz"
wrksrc="epsonscan2-bundle-${_bundle_version}.${_cpu}.deb"
nopie=yes
repository=nonfree
do_install() {
ar x plugins/*.deb
tar -xvf data.tar.gz -C ${DESTDIR}
vlicense ${DESTDIR}/usr/share/doc/iscan-plugin-gt-s650/AVASYSPL.en.txt
bsdtar -xvf data.tar.xz -C ${DESTDIR}
vlicense ${DESTDIR}/usr/share/doc/epsonscan2-non-free-plugin-${version}-1/COPYING.EPSON
}