diff --git a/srcpkgs/dwb/template b/srcpkgs/dwb/template index 59b7be6a4a6..78d43669f57 100644 --- a/srcpkgs/dwb/template +++ b/srcpkgs/dwb/template @@ -1,28 +1,19 @@ # Template file for 'dwb' pkgname=dwb version=2014.03.07 -revision=1 -#wrksrc= -#create_wrksrc=yes -#only_for_archs="i686 x86_64" +revision=2 build_style=gnu-makefile -#configure_args="" -#make_build_args="" -#make_install_args="" -#conf_files="" -#make_dirs="/var/log/dir 0755 root root" hostmakedepends="pkg-config m4" makedepends="gnutls-devel libsoup-devel webkitgtk-devel json-c-devel" -depends="" short_desc="lightweight web browser based on webkit and gtk" maintainer="Enno Boland " license="GPL-3" homepage="http://portix.bitbucket.org/dwb/" distfiles="https://bitbucket.org/portix/dwb/downloads/dwb-$version.tar.gz" checksum=bfbe3e366b27c969876f9ee7954f138b1d49a270aa84a14ce43e01591ab69b62 -make_build_args="GTK=3" -pre_configure() { +do_build() { sed -i '/^CFLAGS += -Werror=/d' config.mk sed -i 's/-Werror[^ ]*//' */Makefile scripts/lib/Makefile + make CC=$CC ${makejobs} GTK=3 }