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

30 lines
997 B
Bash
Raw Normal View History

# Template file for 'iscan-plugin-gt-s650'
pkgname=iscan-plugin-gt-s650
version=1.1.0
2015-07-13 21:13:53 +02:00
revision=2
repository=nonfree
build_style=fetch
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"
2015-07-13 21:13:53 +02:00
_url="https://download3.ebz.epson.net/dsc/f/03/00/03/51/35/"
if [ "$XBPS_MACHINE" = "x86_64" ]; then
_arch=amd64
2015-07-13 21:13:53 +02:00
_hash=2bb85852bb07d419fa09653e76027ab61a7e0a95
checksum=442ca971cc0ebf71598047f41cb7e36eca0649eb62e324b91091360a63043df4
else
_arch=i386
2015-07-13 21:13:53 +02:00
_hash=99e341645ab8b18de2acee4eb9a79c3cca4262e2
checksum=453004dcf8d6bf68feb1994acd14dbf3f774d49215013568eef6037e8de24643
fi
2015-07-13 21:13:53 +02:00
distfiles="${_url}/${_hash}/${pkgname}_${version}-2_${_arch}.deb"
only_for_archs="i686 x86_64"
do_install() {
ar x *.deb
tar -xvf data.tar.gz -C ${DESTDIR}
vlicense ${DESTDIR}/usr/share/doc/iscan-plugin-gt-s650/AVASYSPL.en.txt
}