diff options
Diffstat (limited to 'community/netsurf/PKGBUILD')
-rw-r--r-- | community/netsurf/PKGBUILD | 22 |
1 files changed, 9 insertions, 13 deletions
diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD index b40371270..b7536eb8b 100644 --- a/community/netsurf/PKGBUILD +++ b/community/netsurf/PKGBUILD @@ -1,30 +1,26 @@ +# $Id: PKGBUILD 52915 2011-07-29 20:04:25Z ebelanger $ # Contributor: Paulo Matias <matiasΘarchlinux-br·org> # Contributor: Georgij Kondratjev <smpuj@bk.ru> # Maintainer: Daniel J Griffiths <ghost1227@archlinux.us> pkgname=netsurf -pkgver=2.6 +pkgver=2.7 pkgrel=1 pkgdesc="Lightweight, fast web browser" arch=('i686' 'x86_64' 'mips64el') url="http://www.netsurf-browser.org/" license=('GPL') -depends=('libmng' 'librsvg' 'curl' 'libglade' 'lcms' 'libjpeg>=7' - 'libwapcaplet' 'libcss') -makedepends=('re2c' 'libnsbmp' 'libnsgif' 'hubbub') +depends=('libmng' 'librsvg' 'curl' 'libglade' 'libcss' 'libnsgif' 'libnsbmp' 'hubbub') +makedepends=('lcms') source=("http://www.netsurf-browser.org/downloads/releases/${pkgname}-${pkgver}-src.tar.gz") -md5sums=('8653789d2ede6dbbfe79882afc7538fc') +md5sums=('52939f2e2319269d7d758ec665f6cb8e') build() { - cd ${srcdir}/${pkgname} - - sed -i 's#GtkNotebookPage#GtkWidget#' gtk/gtk_tabs.c - sed -i 's#GTK_WIDGET_SET_FLAGS(GTK_WIDGET(g->layout), GTK_CAN_FOCUS);#gtk_widget_set_can_focus(GTK_WIDGET(g->layout), true);#' \ - gtk/gtk_window.c + cd "${srcdir}/${pkgname}" + make PREFIX=/usr TARGET=gtk } package() { - cd ${srcdir}/${pkgname} - - make install DESTDIR=${pkgdir} PREFIX=/usr NETSURF_USE_HARU_PDF=NO + cd "${srcdir}/${pkgname}" + make install PREFIX=/usr DESTDIR="${pkgdir}" } |