void-packages/srcpkgs/lowdown/template
2021-02-26 15:11:23 -03:00

30 lines
825 B
Bash

# Template file for 'lowdown'
pkgname=lowdown
version=0.8.2
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
make_check_target="regress"
hostmakedepends="which"
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=098c5df1d3c25f287427181913390b8bc1cc8cfac99b2d968f0c2d50966fa2c4
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/share/man/man3/*.3"
}
}