void-packages/srcpkgs/epson-inkjet-printer-escpr2/template
2020-10-15 21:11:27 +02:00

30 lines
1.1 KiB
Bash

# Template file for 'epson-inkjet-printer-escpr2'
pkgname=epson-inkjet-printer-escpr2
version=1.1.22
revision=1
archs="x86_64 i686 aarch64 armv7l"
create_wrksrc=yes
build_wrksrc=${pkgname}-${version}
build_style=gnu-configure
configure_args="--with-cupsfilterdir=/usr/lib/cups/filter --with-cupsppddir=/usr/share/ppd"
hostmakedepends="automake rpmextract "
makedepends="cups-devel ghostscript-devel"
short_desc="Epson Inkjet Printer Driver 2 (ESC/P-R) for Linux"
maintainer="André Cerqueira <acerqueira021@gmail.com>"
license="custom:Proprietary"
homepage="http://download.ebz.epson.net/dsc/search/01/search/?OSC=LX"
distfiles="https://download3.ebz.epson.net/dsc/f/03/00/12/02/82/a2b1cbcb5138ebca303987e685d76263c0c25e5e/${pkgname}-${version}-1lsb3.2.src.rpm"
checksum=797c9ead379f5cbba399eaeff631e09faf1b46a9cd7a52c5dfe30481d5b7481e
nocross="configure: error: cannot run C compiled programs"
restricted=yes
repository=nonfree
post_extract() {
bsdtar xf ${pkgname}-${version}-1lsb3.2.tar.gz
}
post_install() {
vlicense COPYING
vlicense COPYING.EPSON
vlicense COPYING.LIB
}