void-packages/srcpkgs/smu-git/template
2014-08-03 15:07:08 +02:00

29 lines
676 B
Plaintext

# Template file for 'smu-git'
pkgname=smu-git
version=20140803
revision=1
build_style=gnu-makefile
hostmakedepends="git"
make_build_args="INCS=-I. LIBS="
short_desc="Simple markup - markdown like syntax"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
homepage="https://github.com/Gottox/smu/"
provides="smu-${version}_${revision}"
replaces="smu>=0"
do_fetch() {
local url="git://github.com/Gottox/smu"
msg_normal "Fetching source from $url ...\n"
git clone ${url} ${pkgname}-${version}
}
pre_build() {
sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk
sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk
}
post_install() {
vinstall LICENSE 644 usr/share/licenses/smu
}