dwb: unbreak and rebuild for musl.

This commit is contained in:
Juan RP 2015-05-24 09:36:46 +02:00
parent 549fc0b6f0
commit e62a590479
1 changed files with 3 additions and 12 deletions

View File

@ -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 <gottox@voidlinux.eu>"
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
}