void-packages/srcpkgs/libspectre/template

24 lines
732 B
Bash

# Template file for 'libspectre'
pkgname=libspectre
version=0.2.10
revision=1
build_style=gnu-configure
configure_args="--disable-static"
makedepends="ghostscript-devel"
short_desc="Small library for rendering Postscript documents"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://www.freedesktop.org/wiki/Software/libspectre/"
distfiles="http://libspectre.freedesktop.org/releases/${pkgname}-${version}.tar.gz"
checksum=cf60b2a80f6bfc9a6b110e18f08309040ceaa755210bf94c465a969da7524d07
libspectre-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}