From 720ec899c06c83fad98c3fede3db2c6deaf941a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Wed, 18 Nov 2020 12:39:41 +0100 Subject: [PATCH] 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. --- srcpkgs/iscan-plugin-gt-s650/template | 47 +++++++++++++++------------ 1 file changed, 27 insertions(+), 20 deletions(-) diff --git a/srcpkgs/iscan-plugin-gt-s650/template b/srcpkgs/iscan-plugin-gt-s650/template index fc23354059e..cf7f59e1670 100644 --- a/srcpkgs/iscan-plugin-gt-s650/template +++ b/srcpkgs/iscan-plugin-gt-s650/template @@ -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 " -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 " +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 }