From f38edbff3878008c8b2ae1ca8a496c349763017b Mon Sep 17 00:00:00 2001 From: root Date: Sun, 28 Apr 2013 01:12:25 -0700 Subject: Sun Apr 28 01:11:42 PDT 2013 --- community/netsurf/PKGBUILD | 30 +++++++++++++++++------------- 1 file changed, 17 insertions(+), 13 deletions(-) (limited to 'community/netsurf/PKGBUILD') diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD index e24d0c0b3..1f760a693 100644 --- a/community/netsurf/PKGBUILD +++ b/community/netsurf/PKGBUILD @@ -1,45 +1,49 @@ -# $Id: PKGBUILD 81235 2012-12-13 22:54:07Z arodseth $ +# $Id: PKGBUILD 89138 2013-04-27 07:58:18Z arodseth $ # Maintainer: Alexander Rødseth # Contributor: Paulo Matias # Contributor: Georgij Kondratjev # Contributor: Daniel J Griffiths pkgname=netsurf -pkgver=2.9 -pkgrel=5 +pkgver=3.0 +pkgrel=1 pkgdesc='Lightweight and fast web browser' arch=('x86_64' 'i686') url='http://www.netsurf-browser.org/' license=('GPL') -depends=('libmng' 'curl' 'libglade' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss>=0.1.2' 'hubbub>=0.1.2' 'libwebp>=0.2.0' 'gstreamer0.10') -makedepends=('re2c' 'lcms' 'gendesk>=0.4.2') -provides=('netsurf') -conflicts=('netsurf') -install=netsurf.install +depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom') # 'libharu' 'gstreamer0.10' +makedepends=('js' 're2c' 'lcms' 'gendesk' 'netsurf-buildsystem' 'libglade') +install="$pkgname.install" source=("netsurf.png::http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-browser/icon_48x48_netsurf.png" "http://download.$pkgname-browser.org/$pkgname/releases/source/$pkgname-$pkgver-src.tar.gz") sha256sums=('f0dbcc5d80bf03d706aa8b28a322aa7f169a40813848c2d1505691f6e2c7ef00' - 'f74767161fd7f3186e483b438a183f2ea3cae160020ad5dd63c75a4d78f5c797') + '7c6a48d3cc3e9a3e3a51b532ddf60f7697e97bf8b61a6d3b2ced1a2e89fbccc6') + _exec=('netsurf %U') _genericname=('Web Browser') _comment=('Lightweight web browser') _mimetype=('text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo') -build() { +prepare() { cd "$srcdir" gendesk - cd "$pkgname" +} + +build() { + cd "$pkgname-$pkgver" make \ PREFIX=/usr \ TARGET=gtk \ NETSURF_USE_WEBP=YES \ - NETSURF_USE_VIDEO=YES + NETSURF_USE_VIDEO=NO \ + NETSURF_USE_MOZILLA_JS=YES \ + NETSURF_USE_HARU_PDF=NO } package() { - cd "$srcdir/$pkgname" + cd "$srcdir/$pkgname-$pkgver" make install PREFIX=/usr DESTDIR="$pkgdir" install -Dm644 "../$pkgname.png" \ -- cgit v1.2.3-54-g00ecf