From 2bb3e267c7cba23ca12b137175e70ab42b698cd5 Mon Sep 17 00:00:00 2001 From: Ypnose Date: Mon, 30 Dec 2013 18:23:02 +0100 Subject: [PATCH] sic-git: simplify by using the gnu-makefile build_style --- srcpkgs/sic-git/template | 13 +++++-------- 1 file changed, 5 insertions(+), 8 deletions(-) diff --git a/srcpkgs/sic-git/template b/srcpkgs/sic-git/template index a519682a859..2a9b7a89afa 100644 --- a/srcpkgs/sic-git/template +++ b/srcpkgs/sic-git/template @@ -1,7 +1,9 @@ # Template file for 'sic-git' pkgname=sic-git -version=20130828 +version=20131230 revision=1 +build_style=gnu-makefile +make_build_args="INCS=-I. LIBS=" short_desc="Simple irc client" maintainer="Ypnose " license="MIT" @@ -13,18 +15,13 @@ 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/sic vinstall README 644 usr/share/doc/sic } sic-git_package() { pkg_install() { - vmove usr + vmove all } }