From 415856bdd4f48ab4f2732996f0bae58595092bbe Mon Sep 17 00:00:00 2001 From: Parabola Date: Tue, 5 Apr 2011 14:26:38 +0000 Subject: Tue Apr 5 14:26:38 UTC 2011 --- gnome-unstable/epiphany/PKGBUILD | 31 +++++++++++++++++++++++++++++++ gnome-unstable/epiphany/epiphany.install | 20 ++++++++++++++++++++ 2 files changed, 51 insertions(+) create mode 100644 gnome-unstable/epiphany/PKGBUILD create mode 100644 gnome-unstable/epiphany/epiphany.install (limited to 'gnome-unstable/epiphany') diff --git a/gnome-unstable/epiphany/PKGBUILD b/gnome-unstable/epiphany/PKGBUILD new file mode 100644 index 000000000..025ee5a82 --- /dev/null +++ b/gnome-unstable/epiphany/PKGBUILD @@ -0,0 +1,31 @@ +# $Id: PKGBUILD 116342 2011-03-22 22:23:16Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=epiphany +pkgver=2.91.92 +pkgrel=1 +install=epiphany.install +pkgdesc="A GNOME3 web browser based on the WebKit rendering engine." +arch=('i686' 'x86_64') +license=('GPL') +depends=('libsoup-gnome' 'gsettings-desktop-schemas' 'libwebkit3' 'nss' 'iso-codes' 'dconf' 'gobject-introspection') +makedepends=('intltool' 'networkmanager' 'gnome-doc-utils' 'startup-notification') +options=('!libtool' '!emptydirs') +groups=('gnome') +url="http://www.gnome.org/projects/epiphany/" +source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/2.91/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('16bfb56af1723db458aa3c9942218480407ed199e78dbba33af483bcf417db1c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-scrollkeeper \ + --enable-network-manager + make +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/gnome-unstable/epiphany/epiphany.install b/gnome-unstable/epiphany/epiphany.install new file mode 100644 index 000000000..00b1abb96 --- /dev/null +++ b/gnome-unstable/epiphany/epiphany.install @@ -0,0 +1,20 @@ +post_install() { + glib-compile-schemas usr/share/glib-2.0/schemas + + update-desktop-database -q + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor +} + +pre_upgrade() { + if [ -f usr/share/gconf/schemas/epiphany.schemas ]; then + usr/sbin/gconfpkg --uninstall epiphany + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} -- cgit v1.2.3-54-g00ecf