summaryrefslogtreecommitdiffstats
path: root/x11/gtk+
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2009-08-19 20:43:42 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2009-08-19 20:43:42 +0000
commit196b5d99bd139001ab703f47518f6d9a7c5323e0 (patch)
treed0eab009ea8c14b85410bef9d254ace6071e038a /x11/gtk+
parentdcbd7619edd0188301456cedf0c74c701a4bdf53 (diff)
downloadaports-196b5d99bd139001ab703f47518f6d9a7c5323e0.tar.bz2
aports-196b5d99bd139001ab703f47518f6d9a7c5323e0.tar.xz
x11/gtk+: upgrade to 2.16.5. add trigger for icons
Diffstat (limited to 'x11/gtk+')
-rw-r--r--x11/gtk+/APKBUILD11
-rw-r--r--x11/gtk+/gtk+.trigger5
2 files changed, 9 insertions, 7 deletions
diff --git a/x11/gtk+/APKBUILD b/x11/gtk+/APKBUILD
index a84abef7f..0dfc73c8c 100644
--- a/x11/gtk+/APKBUILD
+++ b/x11/gtk+/APKBUILD
@@ -1,10 +1,11 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+
-pkgver=2.16.4
+pkgver=2.16.5
pkgrel=0
pkgdesc="The GTK+ Toolkit (v2)"
url="http://www.gtk.org/"
install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
+triggers="$pkgname.trigger:/usr/share/icons/*"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
@@ -29,8 +30,7 @@ makedepends="pkgconfig
pango-dev
tiff-dev
zlib-dev"
-source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2
- $install"
+source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2"
depends_dev="atk-dev pango-dev cairo-dev glib-dev"
build() {
@@ -44,7 +44,4 @@ build() {
make || return 1
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="d666f9f5a544e9d4d45804d88b1b5c4d gtk+-2.16.4.tar.bz2
-bf14adb7cc12acf93409ccf83545da06 gtk+.post-install
-bf14adb7cc12acf93409ccf83545da06 gtk+.post-upgrade
-ddc2c8add489c9f7f48f92cea34c05e6 gtk+.post-deinstall"
+md5sums="8d1ea0b9b0400224d25b0cc2750b438d gtk+-2.16.5.tar.bz2"
diff --git a/x11/gtk+/gtk+.trigger b/x11/gtk+/gtk+.trigger
new file mode 100644
index 000000000..e9ff91c91
--- /dev/null
+++ b/x11/gtk+/gtk+.trigger
@@ -0,0 +1,5 @@
+#!/bin/sh
+
+for i in "$@"; do
+ gtk-update-icon-cache -q -t -f $i
+done