diff --git a/srcpkgs/slop/template b/srcpkgs/slop/template index 6471c13804..82e9311c6d 100644 --- a/srcpkgs/slop/template +++ b/srcpkgs/slop/template @@ -1,7 +1,7 @@ # Template file for 'slop' pkgname=slop version=4.2.17 -revision=1 +revision=2 build_style=cmake hostmakedepends="pkg-config cmake" makedepends="imlib2-devel glew-devel libXext-devel libXrender-devel libXrandr-devel glm" @@ -11,3 +11,9 @@ license="GPL-3" homepage="https://github.com/naelstrof/slop" distfiles="https://github.com/naelstrof/slop/archive/v${version}.tar.gz" checksum=e0195424cda967573b30a837a1b050451df3b5a8cc34c60bcee918c20c0d318e + +pre_build() { + # Remove a stray include + sed -e "/#include /d" \ + -i ${wrksrc}/src/main.cpp +}