From 6dee0a203a8290427ca77705bc1cae90381529b2 Mon Sep 17 00:00:00 2001 From: root Date: Sun, 4 Sep 2011 23:14:34 +0000 Subject: Sun Sep 4 23:14:34 UTC 2011 --- gnome-unstable/epiphany/PKGBUILD | 34 ++++++++++++++++++++++++++++++++ gnome-unstable/epiphany/epiphany.install | 20 +++++++++++++++++++ 2 files changed, 54 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..cb1fea9d8 --- /dev/null +++ b/gnome-unstable/epiphany/PKGBUILD @@ -0,0 +1,34 @@ +# $Id: PKGBUILD 136951 2011-09-03 17:04:39Z ibiru $ +# Maintainer: Jan de Groot + +pkgname=epiphany +pkgver=3.1.90 +pkgrel=1 +install=epiphany.install +pkgdesc="A GNOME web browser based on the WebKit rendering engine." +arch=('i686' 'x86_64') +license=('GPL') +depends=('libsoup-gnome' 'libnotify' 'gsettings-desktop-schemas' 'libwebkit3' 'nss' + 'iso-codes' 'dconf' 'gobject-introspection' 'desktop-file-utils' + 'hicolor-icon-theme' 'seed') +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.xz) +sha256sums=('00351a3f23c53b83ff8fffe8ed6dbec7f300588622d51c8326b89b93b5d5abc6') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + ./configure --prefix=/usr --sysconfdir=/etc \ + --localstatedir=/var \ + --disable-scrollkeeper \ + --enable-network-manager \ + --enable-seed + 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