From 4d91fc9a2dc38054b8748f27193dc3a6950bda3c Mon Sep 17 00:00:00 2001 From: root Date: Tue, 7 Jun 2011 22:47:46 +0000 Subject: Tue Jun 7 22:47:46 UTC 2011 --- testing/gtk3/PKGBUILD | 36 ++++++++++++++++++++++++++++++++++++ testing/gtk3/gtk3.install | 15 +++++++++++++++ testing/gtk3/settings.ini | 2 ++ 3 files changed, 53 insertions(+) create mode 100644 testing/gtk3/PKGBUILD create mode 100644 testing/gtk3/gtk3.install create mode 100644 testing/gtk3/settings.ini (limited to 'testing/gtk3') diff --git a/testing/gtk3/PKGBUILD b/testing/gtk3/PKGBUILD new file mode 100644 index 000000000..bd05b7cdd --- /dev/null +++ b/testing/gtk3/PKGBUILD @@ -0,0 +1,36 @@ +# $Id: PKGBUILD 126728 2011-06-06 21:19:26Z ibiru $ +# Maintainer: Ionut Biru + +pkgname=gtk3 +pkgver=3.0.11 +pkgrel=1 +pkgdesc="The GTK+ Toolkit (v3)" +arch=('i686' 'x86_64') +url="http://www.gtk.org/" +install=gtk3.install +depends=('atk' 'cairo' 'gtk-update-icon-cache' 'gnutls' 'krb5' 'libcups' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'pango' 'shared-mime-info') +makedepends=('gobject-introspection') +options=('!libtool' '!docs') +backup=(etc/gtk-3.0/settings.ini) +license=('LGPL') +source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/3.0/gtk+-${pkgver}.tar.xz + settings.ini) +sha256sums=('e2e38b316c4657df0cf376c3b6aad63158a9068c557ad41033a677f29967001b' + 'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621') + +build() { + cd "${srcdir}/gtk+-${pkgver}" + CXX=/bin/false ./configure --prefix=/usr \ + --sysconfdir=/etc \ + --localstatedir=/var \ + --enable-gtk2-dependency \ + --disable-schemas-compile + make +} + +package() { + cd "${srcdir}/gtk+-${pkgver}" + make DESTDIR="${pkgdir}" install + + install -Dm644 "${srcdir}/settings.ini" "${pkgdir}/etc/gtk-3.0/settings.ini" +} diff --git a/testing/gtk3/gtk3.install b/testing/gtk3/gtk3.install new file mode 100644 index 000000000..cd8965d1f --- /dev/null +++ b/testing/gtk3/gtk3.install @@ -0,0 +1,15 @@ +post_install() { + usr/bin/gtk-query-immodules-3.0 --update-cache + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install +} + +pre_remove() { + rm -f usr/lib/gtk-3.0/3.0.0/immodules.cache +} +post_remove() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} diff --git a/testing/gtk3/settings.ini b/testing/gtk3/settings.ini new file mode 100644 index 000000000..039000d38 --- /dev/null +++ b/testing/gtk3/settings.ini @@ -0,0 +1,2 @@ +[Settings] +gtk-fallback-icon-theme = gnome -- cgit v1.2.3-54-g00ecf