[arch-commits] Commit in (5 files)
Ionut Biru
ibiru at archlinux.org
Wed Feb 2 23:13:39 UTC 2011
Date: Wednesday, February 2, 2011 @ 18:13:38
Author: ibiru
Revision: 108778
initial upload for gtk3
Added:
gtk3/
gtk3/repos/
gtk3/trunk/
gtk3/trunk/PKGBUILD
gtk3/trunk/gtk3.install
--------------+
PKGBUILD | 35 +++++++++++++++++++++++++++++++++++
gtk3.install | 15 +++++++++++++++
2 files changed, 50 insertions(+)
Added: gtk3/trunk/PKGBUILD
===================================================================
--- gtk3/trunk/PKGBUILD (rev 0)
+++ gtk3/trunk/PKGBUILD 2011-02-02 23:13:38 UTC (rev 108778)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=gtk3
+pkgver=2.99.3
+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' 'heimdal' 'libcups' 'libxcursor' 'libxinerama' 'libxrandr' 'libxi' 'libxcomposite' 'libxdamage' 'pango' 'shared-mime-info')
+makedepends=('gobject-introspection')
+options=('!libtool' '!docs')
+backup=(etc/gtk-3.0/gtkrc)
+license=('LGPL')
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.99/gtk+-${pkgver}.tar.bz2)
+sha256sums=('03dd37fd89fe0f0cea688cb077192b5ff95325b66d53d724c7511d36b6e90496')
+
+build() {
+ cd "${srcdir}/gtk+-${pkgver}"
+ CXX=/bin/false ./configure --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-schemas-compile
+ make
+}
+
+package() {
+ cd "${srcdir}/gtk+-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+ # --enable-gtk2-dependency is broken
+ rm ${pkgdir}/usr/bin/gtk-update-icon-cache
+
+ echo 'gtk-fallback-icon-theme = "gnome"' > "${pkgdir}/etc/gtk-3.0/gtkrc"
+}
Property changes on: gtk3/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
+ Id
Added: gtk3/trunk/gtk3.install
===================================================================
--- gtk3/trunk/gtk3.install (rev 0)
+++ gtk3/trunk/gtk3.install 2011-02-02 23:13:38 UTC (rev 108778)
@@ -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
+}
More information about the arch-commits
mailing list