smu-git: simplify by using the gnu-makefile build_style

This commit is contained in:
Ypnose 2013-12-30 18:36:09 +01:00
parent fb334f72b4
commit 45af6ccdf4

View file

@ -1,7 +1,9 @@
# Template file for 'smu-git'
pkgname=smu-git
version=20131221
version=20131230
revision=1
build_style=gnu-makefile
make_build_args="INCS=-I. LIBS="
short_desc="Simple markup - markdown like syntax"
maintainer="Ypnose <linuxienATlegtuxDOTorg>"
license="MIT"
@ -13,17 +15,12 @@ do_fetch() {
git clone ${url} ${pkgname}-${version}
}
do_build() {
make CC=$CC INCS="-I." LIBS= ${makejobs}
}
do_install() {
make PREFIX=/usr DESTDIR=$DESTDIR install
post_install() {
vinstall LICENSE 644 usr/share/licenses/smu
}
smu-git_package() {
pkg_install() {
vmove usr
vmove all
}
}