void-packages/srcpkgs/dwb/template

21 lines
691 B
Bash

# Template file for 'dwb'
pkgname=dwb
version=2014.03.07
revision=4
build_style=gnu-makefile
hostmakedepends="pkg-config m4"
makedepends="gnutls-devel libsoup-devel webkitgtk-devel json-c-devel"
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
CFLAGS="-D_DEFAULT_SOURCE"
do_build() {
sed -i '/^CFLAGS += -Werror=/d' config.mk
sed -i 's/-Werror[^ ]*//' */Makefile scripts/lib/Makefile
make CC=$CC ${makejobs} GTK=3
}