summaryrefslogtreecommitdiff
path: root/community/netsurf
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-29 03:06:29 -0700
committerroot <root@rshg054.dnsready.net>2013-08-29 03:06:29 -0700
commit0a2b1eeb31400e539041c83cc1a5952f1c880917 (patch)
treee957f8274799baeebffbefd8182fa1e7f106979f /community/netsurf
parentd4e7f77644a42f66c76c525abf0bd5d47c6431eb (diff)
Thu Aug 29 03:04:08 PDT 2013
Diffstat (limited to 'community/netsurf')
-rw-r--r--community/netsurf/PKGBUILD14
-rw-r--r--community/netsurf/netsurf.install2
2 files changed, 10 insertions, 6 deletions
diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD
index 948bf38d6..0e877cc4a 100644
--- a/community/netsurf/PKGBUILD
+++ b/community/netsurf/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 95677 2013-08-15 12:59:27Z arodseth $
+# $Id: PKGBUILD 96406 2013-08-28 00:08:38Z eric $
# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Georgij Kondratjev <smpuj@bk.ru>
@@ -6,13 +6,13 @@
pkgname=netsurf
pkgver=3.0
-pkgrel=3
+pkgrel=4
pkgdesc='Lightweight and fast web browser'
arch=('x86_64' 'i686')
url='http://www.netsurf-browser.org/'
license=('MIT' 'GPL2')
-depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom') # 'libharu' 'gstreamer0.10'
-makedepends=('js' 're2c' 'lcms' 'gendesk' 'netsurf-buildsystem' 'libglade')
+depends=('gtk2' 'libmng' 'curl' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'libcss' 'libwebp' 'libdom' 'lcms') # 'libharu' 'gstreamer0.10'
+makedepends=('js' 're2c' 'gendesk' 'netsurf-buildsystem' 'libglade' 'addinclude')
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")
@@ -22,6 +22,10 @@ sha256sums=('f0dbcc5d80bf03d706aa8b28a322aa7f169a40813848c2d1505691f6e2c7ef00'
prepare() {
cd "$pkgname-$pkgver"
+ addinclude image/rsvg.c stdio
+ addinclude image/mng.c stdio
+ addinclude image/png.c stdio
+
gendesk --pkgname "$pkgname" --pkgdesc "$pkgdesc" --exec 'netsurf %U' \
--genericname 'Web Browser' --comment 'Lightweight web browser' \
--mimetypes 'text/html;application/xhtml+xml;x-scheme-handler/http;x-scheme-handler/https;x-scheme-handler/geo'
@@ -40,7 +44,7 @@ build() {
}
package() {
- cd "$srcdir/$pkgname-$pkgver"
+ cd "$pkgname-$pkgver"
make install PREFIX=/usr DESTDIR="$pkgdir"
install -Dm644 "../$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
diff --git a/community/netsurf/netsurf.install b/community/netsurf/netsurf.install
index ef816a666..98f3ea190 100644
--- a/community/netsurf/netsurf.install
+++ b/community/netsurf/netsurf.install
@@ -1,5 +1,5 @@
post_upgrade() {
- gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
+ #gtk-update-icon-cache -q -f -t /usr/share/icons/hicolor
update-desktop-database -q
}