void-packages/srcpkgs/smu/template
2018-11-29 14:30:30 -02:00

21 lines
602 B
Bash

# Template file for 'smu'
pkgname=smu
version=1.4
revision=4
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple markup - markdown like syntax"
maintainer='Juan RP <xtraeme@voidlinux.eu>'
license="MIT"
homepage="https://github.com/Gottox/smu/"
distfiles="https://github.com/Gottox/smu/archive/v${version}.tar.gz"
checksum=378f24e6cff54dcfcbc7a17a88f16efb59c0cda1d35f58967e16fd990ba15f45
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
}