23 lines
623 B
Bash
23 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="Orphaned <orphan@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
|
|
}
|