void-packages/srcpkgs/lowdown/template

32 lines
867 B
Bash

# Template file for 'lowdown'
pkgname=lowdown
version=1.2.0
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
make_install_target="install install_libs"
make_check_target="regress"
short_desc="Simple markdown translator"
maintainer="Duncaen <duncaen@voidlinux.org>"
license="ISC"
homepage="https://kristaps.bsd.lv/lowdown/"
changelog="https://kristaps.bsd.lv/lowdown/archive.html"
distfiles="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${version}.tar.gz"
checksum=4a853e1e49bca6ef532d075228b84585a29d88bbf4a7d26a70c5d4df260b9a3f
post_install() {
vlicense LICENSE.md
}
lowdown-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove "usr/share/man/man3/*.3"
}
}