vp-build/srcpkgs/lowdown/template

27 lines
690 B
Bash

# Template file for 'lowdown'
pkgname=lowdown
version=0.4.6
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/"
distfiles="https://kristaps.bsd.lv/lowdown/snapshots/lowdown-${version}.tar.gz"
checksum=d0f736772c040b46b5a71479446b298528f86751e342f76bd7aad3fd396f838f
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"
}
}