summaryrefslogtreecommitdiff
path: root/community/netsurf/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/netsurf/PKGBUILD')
-rw-r--r--community/netsurf/PKGBUILD35
1 files changed, 27 insertions, 8 deletions
diff --git a/community/netsurf/PKGBUILD b/community/netsurf/PKGBUILD
index b7536eb8b..9e19abe7b 100644
--- a/community/netsurf/PKGBUILD
+++ b/community/netsurf/PKGBUILD
@@ -1,26 +1,45 @@
-# $Id: PKGBUILD 52915 2011-07-29 20:04:25Z ebelanger $
+# $Id: PKGBUILD 56237 2011-10-03 16:13:35Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
# Contributor: Paulo Matias <matiasΘarchlinux-br·org>
# Contributor: Georgij Kondratjev <smpuj@bk.ru>
-# Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
-
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=netsurf
-pkgver=2.7
+pkgver=2.8
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' 'libcss' 'libnsgif' 'libnsbmp' 'hubbub')
-makedepends=('lcms')
-source=("http://www.netsurf-browser.org/downloads/releases/${pkgname}-${pkgver}-src.tar.gz")
-md5sums=('52939f2e2319269d7d758ec665f6cb8e')
+depends=('libmng' 'curl' 'libglade' 'librsvg' 'desktop-file-utils' 'libnsbmp' 'libnsgif' 'hubbub' 'libcss' 'hubbub')
+makedepends=('re2c' 'lcms')
+provides=('netsurf')
+conflicts=('netsurf')
+install=("${pkgname}.install")
+source=("${pkgname}.desktop"
+ "${pkgname}.install"
+ "http://ubuntu.allmyapps.com/data/n/e/netsurf-netsurf-web-browser/icon_48x48_netsurf.png"
+ "http://www.netsurf-browser.org/downloads/releases/${pkgname}-${pkgver}-src.tar.gz")
+md5sums=('85e0af265e77607596fd90db9ac707ad'
+ '69445d7ccf7df8c7ff134f04f36342b0'
+ '4f28912e5df4b826b819e175265bcc9c'
+ '49c41f281f3e9ca28a24da505fad2e3a')
build() {
cd "${srcdir}/${pkgname}"
+
make PREFIX=/usr TARGET=gtk
}
package() {
cd "${srcdir}/${pkgname}"
+
make install PREFIX=/usr DESTDIR="${pkgdir}"
+ install -Dm644 "../icon_48x48_netsurf.png" \
+ "${pkgdir}/usr/share/pixmaps/${pkgname}.png"
+ install -Dm644 "../${pkgname}.desktop" \
+ "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -Dm644 COPYING \
+ "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
}
+
+# vim:set ts=2 sw=2 et: