summaryrefslogtreecommitdiff
path: root/community/netsurf/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-04-28 01:12:25 -0700
committerroot <root@rshg054.dnsready.net>2013-04-28 01:12:25 -0700
commitf38edbff3878008c8b2ae1ca8a496c349763017b (patch)
tree4f9ff6891842a0a6dcd9c0c8424ec8f16527e023 /community/netsurf/PKGBUILD
parenta27a6af53095da314eca1d33911f72775dfc2bce (diff)
Sun Apr 28 01:11:42 PDT 2013
Diffstat (limited to 'community/netsurf/PKGBUILD')
-rw-r--r--community/netsurf/PKGBUILD30
1 files changed, 17 insertions, 13 deletions
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 <rodseth@gmail.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Georgij Kondratjev <smpuj@bk.ru>
# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
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" \