void-packages/srcpkgs/gutenprint/template

33 lines
1.0 KiB
Bash

# Template file for 'gutenprint'
pkgname=gutenprint
version=5.3.1
revision=1
build_style=gnu-configure
configure_args="--disable-rpath --enable-samples --disable-static
--disable-static-genppd --enable-cups-ppds --enable-simplified-cups-ppds=only
--enable-translated-cups-ppds --enable-globalized-cups-ppds"
hostmakedepends="ghostscript perl"
makedepends="cups-devel"
short_desc="Top quality printer drivers for POSIX systems"
maintainer="Anachron <Anachron14@gmx.de>"
license="GPL-2.0-or-later"
homepage="http://gimp-print.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/gimp-print/$pkgname-$version.tar.xz"
checksum=d80d8f5272d15bca5710f6ef4a2bb95e76d34e1155c5bcd5e83cb9f0a111d0d4
nocross="https://sourceforge.net/p/gimp-print/mailman/message/34782748/"
post_install() {
mv "${DESTDIR}"/usr/sbin/* "${DESTDIR}"/usr/bin/
rmdir ${DESTDIR}/usr/sbin/
}
gutenprint-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/lib/pkgconfig
vmove usr/include
vmove usr/lib/*.so
}
}