diff --git a/srcpkgs/mopag-git/template b/srcpkgs/mopag-git/template index eefc6eae27b..736e651e0cb 100644 --- a/srcpkgs/mopag-git/template +++ b/srcpkgs/mopag-git/template @@ -1,6 +1,6 @@ # Template file for 'mopag-git' pkgname=mopag-git -version=20140531 +version=20140803 revision=1 hostmakedepends="git" makedepends="libX11-devel" @@ -13,6 +13,12 @@ homepage="https://github.com/c00kiemon5ter/mopag" provides="mopag-${version}_${revision}" replaces="mopag>=0" +pre_build() { + sed -i 's|^CPPFLAGS =|CPPFLAGS +=|g' Makefile + sed -i 's|^CFLAGS =|CFLAGS +=|g' Makefile + sed -i 's|^LDFLAGS =|LDFLAGS +=|g' Makefile +} + do_fetch() { local url="git://github.com/c00kiemon5ter/mopag" msg_normal "Fetching source from $url ...\n"