void-packages/srcpkgs/libspectre/template

25 lines
815 B
Bash

# Template file for 'libspectre'
pkgname=libspectre
version=0.2.12
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/"
changelog="https://gitlab.freedesktop.org/libspectre/libspectre/-/raw/master/NEWS"
distfiles="http://libspectre.freedesktop.org/releases/libspectre-${version}.tar.gz"
checksum=55a7517cd3572bd2565df0cf450944a04d5273b279ebb369a895391957f0f960
libspectre-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.so"
}
}