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

28 lines
983 B
Bash

# Template file for 'iscan-plugin-gt-s650'
pkgname=iscan-plugin-gt-s650
version=1.1.0
revision=3
repository=nonfree
maintainer="Dominik Honnef <dominik@honnef.co>"
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"
only_for_archs="i686 x86_64"
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
}