smu-git: simplify by using the gnu-makefile build_style
This commit is contained in:
parent
fb334f72b4
commit
45af6ccdf4
1 changed files with 5 additions and 8 deletions
|
@ -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
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue