void-packages/srcpkgs/ctzcls-cups/template

22 lines
714 B
Bash

# Template file for 'ctzcls-cups'
pkgname=ctzcls-cups
version=1.5
revision=1
create_wrksrc=yes
makedepends="cups-devel"
short_desc="Citizen Sticker Printers driver for CUPS"
maintainer="Petr Cizmar <xxb0322@xpc.ovh>"
license="GPL-2.0-or-later"
homepage="https://www.citizen-systems.co.jp/en/printer/download/driver-cups-source/"
distfiles="https://www.citizen-systems.co.jp/en/printer/download/driver-cups-source/cups-ctzcls.tar.bz2"
checksum=d3fe19aa253044c383df3a3869c9dac88b0ced374fe42eb24aabfe6a1ff72ff4
do_build() {
$CC $CFLAGS -fPIC -o rastertocls rastertocls.c -lcupsimage -lcups $LDFLAGS
}
do_install() {
vinstall ctzcls.ppd 644 /usr/share/cups/model/
vinstall rastertocls 755 /usr/lib/cups/filter/
}