From 45af6ccdf46a98d9c82fb76892ad4e6b64d76966 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Mon, 30 Dec 2013 18:36:09 +0100 Subject: [PATCH] smu-git: simplify by using the gnu-makefile build_style --- srcpkgs/smu-git/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/smu-git/template b/srcpkgs/smu-git/template index fc1a35e2eea..6c874522269 100644 --- a/srcpkgs/smu-git/template +++ b/srcpkgs/smu-git/template @@ -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 " 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 } }