void-packages/srcpkgs/smu/template
2019-06-21 09:43:10 +02:00

21 lines
603 B
Bash

# Template file for 'smu'
pkgname=smu
version=1.5
revision=1
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
}