summaryrefslogtreecommitdiff
path: root/extra/gtk3
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
committerroot <root@rshg054.dnsready.net>2012-04-25 00:01:35 +0000
commit98bf2ac3fdd6f7bcb6ce45c932fc13c07fecc03f (patch)
tree00d9cdbfdc8ef5d7a4a7159a8c6439008509e662 /extra/gtk3
parent9988621f899d7d4ae5fd0a4a32a4ba3abc5a527d (diff)
Wed Apr 25 00:01:35 UTC 2012
Diffstat (limited to 'extra/gtk3')
-rw-r--r--extra/gtk3/PKGBUILD24
-rw-r--r--extra/gtk3/gtk3.install9
2 files changed, 15 insertions, 18 deletions
diff --git a/extra/gtk3/PKGBUILD b/extra/gtk3/PKGBUILD
index 6510d5e8a..ab9cdb7c0 100644
--- a/extra/gtk3/PKGBUILD
+++ b/extra/gtk3/PKGBUILD
@@ -1,10 +1,10 @@
-# $Id: PKGBUILD 151544 2012-02-27 16:18:08Z ibiru $
+# $Id: PKGBUILD 156874 2012-04-23 09:08:04Z ibiru $
# Maintainer: Ionut Biru <ibiru@archlinux.org>
pkgname=gtk3
-pkgver=3.2.3
-pkgrel=3
-pkgdesc="GTK+ is a multi-platform toolkit (v3)"
+pkgver=3.4.1
+pkgrel=1
+pkgdesc="GObject-based multi-platform GUI toolkit (v3)"
arch=('i686' 'x86_64')
url="http://www.gtk.org/"
install=gtk3.install
@@ -13,16 +13,12 @@ makedepends=('gobject-introspection')
options=('!libtool')
backup=(etc/gtk-3.0/settings.ini)
license=('LGPL')
-source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/3.2/gtk+-$pkgver.tar.xz
- settings.ini
- empty_grid.patch)
-sha256sums=('e2cf20f2510ebbc7be122a1a33dd1f472a7d06aaf16b4f2a63eb048cd9141d3d'
- 'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621'
- 'd05ccfeaf4c558668b72aaacdd11356b6419d2359def6c1b9af1b465fa5a3c25')
-
+source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.xz
+ settings.ini)
+sha256sums=('0716b533de0ff2ffdec1076bb85c7a95e2b7b6ac9ece71e84625043ae3eb25f7'
+ 'c214d3dcdcadda3d642112287524ab3e526ad592b70895c9f3e3733c23701621')
build() {
- cd "$srcdir/gtk+-$pkgver"
- patch -Np1 -i "$srcdir/empty_grid.patch"
+ cd "gtk+-$pkgver"
CXX=/bin/false ./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -34,7 +30,7 @@ build() {
}
package() {
- cd "$srcdir/gtk+-$pkgver"
+ cd "gtk+-$pkgver"
make DESTDIR="$pkgdir" install
install -Dm644 "$srcdir/settings.ini" "$pkgdir/etc/gtk-3.0/settings.ini"
diff --git a/extra/gtk3/gtk3.install b/extra/gtk3/gtk3.install
index cd8965d1f..ca20d2865 100644
--- a/extra/gtk3/gtk3.install
+++ b/extra/gtk3/gtk3.install
@@ -1,6 +1,6 @@
post_install() {
- usr/bin/gtk-query-immodules-3.0 --update-cache
- usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas
+ /usr/bin/gtk-query-immodules-3.0 --update-cache
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
}
post_upgrade() {
@@ -8,8 +8,9 @@ post_upgrade() {
}
pre_remove() {
- rm -f usr/lib/gtk-3.0/3.0.0/immodules.cache
+ 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
+ /usr/bin/glib-compile-schemas /usr/share/glib-2.0/schemas
}