void-packages/srcpkgs/iscan-plugin-gt-s650/template

35 lines
1.0 KiB
Bash

# Template file for 'iscan-plugin-gt-s650'
pkgname=iscan-plugin-gt-s650
reverts="1.1.0_4"
version=1.0.0.3
revision=2
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
bsdtar -xvf data.tar.xz -C ${DESTDIR}
vlicense ${DESTDIR}/usr/share/doc/epsonscan2-non-free-plugin-${version}-1/COPYING.EPSON
}