void-packages/srcpkgs/smu/template
Paper Mountain Studio 5f1eba052f smu: add documentation
2019-07-02 13:37:13 +02:00

22 lines
623 B
Bash

# Template file for 'smu'
pkgname=smu
version=1.5
revision=2
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple markup - markdown like syntax"
maintainer='Juan RP <xtraeme@voidlinux.org>'
license="MIT"
homepage="https://github.com/Gottox/smu/"
distfiles="https://github.com/Gottox/smu/archive/v${version}.tar.gz"
checksum=f3bb18f958962679a7fb48d7f8dcab8b59154d66f23c9aba02e78103106093a4
pre_build() {
sed -i 's|^CFLAGS =.*|override CFLAGS += -DVERSION=\"${VERSION}\"|g' config.mk
sed -i 's|^LDFLAGS =|override LDFLAGS +=|g' config.mk
}
post_install() {
vlicense LICENSE
vdoc documentation
}