void-packages/srcpkgs/lowdown/template
2020-08-22 14:59:09 +02:00

29 lines
797 B
Bash

# Template file for 'lowdown'
pkgname=lowdown
version=0.7.3
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
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=e71fbe8ca6ec2770b27efaaf14afd6e16edf5f0374c2c0baf43cf9d7d5342390
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"
}
}