void-packages/srcpkgs/lowdown/template
2020-01-28 13:09:43 +01:00

27 lines
747 B
Bash

# Template file for 'lowdown'
pkgname=lowdown
version=0.5.4
revision=1
build_style=configure
configure_args="PREFIX=/usr MANDIR=/usr/share/man"
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=55b4c396a3fd20e963a9bf7891abb412002ba5f557e7e8959a9d1a162032550a
post_install() {
vlicense LICENSE.md
}
lowdown-devel_package() {
depends="${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/share/man/man3/*.3"
}
}