From 75d1d5d6c60404dbc4b953b62131f479e6278f10 Mon Sep 17 00:00:00 2001 From: Giuseppe Fierro Date: Mon, 19 Mar 2018 14:35:40 +0100 Subject: [PATCH] New package: imagescan-plugin-networkscan-1.1.1 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Closes: #12681 [via git-merge-pr] Signed-off-by: Jürgen Buchmüller --- .../imagescan-plugin-networkscan/INSTALL.msg | 1 + srcpkgs/imagescan-plugin-networkscan/template | 47 +++++++++++++++++++ 2 files changed, 48 insertions(+) create mode 100644 srcpkgs/imagescan-plugin-networkscan/INSTALL.msg create mode 100644 srcpkgs/imagescan-plugin-networkscan/template diff --git a/srcpkgs/imagescan-plugin-networkscan/INSTALL.msg b/srcpkgs/imagescan-plugin-networkscan/INSTALL.msg new file mode 100644 index 00000000000..56865d74a9e --- /dev/null +++ b/srcpkgs/imagescan-plugin-networkscan/INSTALL.msg @@ -0,0 +1 @@ +Please read /usr/share/doc/imagescan-plugin-networkscan/README diff --git a/srcpkgs/imagescan-plugin-networkscan/template b/srcpkgs/imagescan-plugin-networkscan/template new file mode 100644 index 00000000000..730e547d451 --- /dev/null +++ b/srcpkgs/imagescan-plugin-networkscan/template @@ -0,0 +1,47 @@ +# Template file for 'imagescan-plugin-networkscan' +pkgname=imagescan-plugin-networkscan +version=1.1.1 +revision=1 +only_for_archs="i686 x86_64" +_bversion=1.3.26 +_dst=ubuntu +_rel=17.10 +build_style=fetch +depends="imagescan" +short_desc="Image Scan v3 Plugin for using Epson scanners over network" +maintainer="Giuseppe Fierro " +license="Proprietary" +homepage="http://support.epson.net/linux/en/imagescanv3.php?version=${_bversion}" + +case "${XBPS_TARGET_MACHINE}" in + x86_64) + _type=x64 + _arch=amd64 + _hash=ca0908b320a891b99059d0b8a36204fee6ce7e5a1b9cc9d0984ecde0a830ade5 + ;; + i686) + _type=x86 + _arch=i386 + _hash=19d33cb489528c1b226e211e99a4958b05ea9a02a08c1e8a6303367dba33a097 + ;; +esac + +distfiles="https://download2.ebz.epson.net/imagescanv3/ubuntu/latest1/deb/${_type}/imagescan-bundle-${_dst}-${_rel}-${_bversion}.${_type}.deb.tar.gz" +checksum=${_hash} + +do_extract() { + tar xzf ${XBPS_SRCDISTDIR}/${pkgname}-${version}/imagescan-bundle-${_dst}-${_rel}-${_bversion}.${_type}.deb.tar.gz \ + imagescan-bundle-${_dst}-${_rel}-${_bversion}.${_type}.deb/plugins/${pkgname}_${version}-1epson4${_dst}${_rel}_${_arch}.deb + ar x imagescan-bundle-${_dst}-${_rel}-${_bversion}.${_type}.deb/plugins/${pkgname}_${version}-1epson4${_dst}${_rel}_${_arch}.deb data.tar.xz + tar xf data.tar.xz +} + +do_install() { + vlicense usr/share/doc/imagescan-plugin-networkscan/AVASYSPL.ja.txt + vlicense usr/share/doc/imagescan-plugin-networkscan/AVASYSPL.en.txt + + rm usr/share/doc/imagescan-plugin-networkscan/AVASYSPL.ja.txt + rm usr/share/doc/imagescan-plugin-networkscan/AVASYSPL.en.txt + + vcopy usr / +}