New package: ctzcls-cups-1.5

This commit is contained in:
Petr Cizmar 2022-03-31 16:40:10 +02:00 committed by Leah Neukirchen
parent fc1dc35a08
commit e6e52b0676

View file

@ -0,0 +1,21 @@
# 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/
}