diff --git a/srcpkgs/sic-git/template b/srcpkgs/sic-git/template index ef2d3e11a70..0f69a5ff9a8 100644 --- a/srcpkgs/sic-git/template +++ b/srcpkgs/sic-git/template @@ -1,6 +1,6 @@ # Template file for 'sic-git' pkgname=sic-git -version=20140531 +version=20140803 revision=1 build_style=gnu-makefile hostmakedepends="git" @@ -18,6 +18,12 @@ do_fetch() { git clone ${url} ${pkgname}-${version} } +pre_build() { + sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' config.mk + sed -i 's|^CFLAGS =|CFLAGS +=|g' config.mk + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' config.mk +} + post_install() { vinstall LICENSE 644 usr/share/licenses/sic vinstall README 644 usr/share/doc/sic