From 59075f0265483f32e9ac4c67ba9e69cb019ba044 Mon Sep 17 00:00:00 2001 From: root Date: Fri, 8 Apr 2011 04:18:44 +0000 Subject: Fri Apr 8 04:18:44 UTC 2011 --- testing/epiphany/PKGBUILD | 33 +++++++++++++++++++++++++++++++++ testing/epiphany/epiphany.install | 20 ++++++++++++++++++++ 2 files changed, 53 insertions(+) create mode 100644 testing/epiphany/PKGBUILD create mode 100644 testing/epiphany/epiphany.install (limited to 'testing/epiphany') diff --git a/testing/epiphany/PKGBUILD b/testing/epiphany/PKGBUILD new file mode 100644 index 000000000..1ad8e9631 --- /dev/null +++ b/testing/epiphany/PKGBUILD @@ -0,0 +1,33 @@ +# $Id: PKGBUILD 117992 2011-04-05 06:37:18Z heftig $ +# Maintainer: Jan de Groot + +pkgname=epiphany +pkgver=3.0.0 +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' 'desktop-file-utils' + 'hicolor-icon-theme') +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}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2) +sha256sums=('9407220e21e95008b0c5b0a0383d1bdc56a932c40a4486ea4f996ba47eeae7bb') + +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/testing/epiphany/epiphany.install b/testing/epiphany/epiphany.install new file mode 100644 index 000000000..00b1abb96 --- /dev/null +++ b/testing/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