# Description: The GNOME desktop web browser
# URL: http://www.gnome.org/projects/epiphany/
# Maintainer: Matt Housh, jaeger at morpheus dot net
# Depends on: iso-codes, libgnomeui, libgnomeprintui, librsvg, gnome-doc-utils, firefox
# Group: gnome/desktop

name=epiphany
version=2.20.2
release=1
source=(http://download.gnome.org/desktop/2.20/2.20.2/sources/$name-$version.tar.bz2)

build() {
	cd $name-$version
	rm po/*.po
	sed -i -e 's/USE_NLS=yes/USE_NLS=no/' \
		-e 's/ENABLE_NLS 1/ENABLE_NLS 0/' configure
	./configure --prefix=/usr \
		--mandir=/usr/man \
		--with-gecko=firefox \
		--disable-scrollkeeper \
		--disable-schemas-install
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/usr/share/gtk-doc
}
