summaryrefslogtreecommitdiffstats
path: root/x11/gtk+/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'x11/gtk+/APKBUILD')
-rw-r--r--x11/gtk+/APKBUILD37
1 files changed, 15 insertions, 22 deletions
diff --git a/x11/gtk+/APKBUILD b/x11/gtk+/APKBUILD
index 1276255a..cd378659 100644
--- a/x11/gtk+/APKBUILD
+++ b/x11/gtk+/APKBUILD
@@ -1,34 +1,25 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gtk+
-pkgver=2.16.0
-pkgrel=2
+pkgver=2.16.2
+pkgrel=0
pkgdesc="The GTK+ Toolkit (v2)"
url="http://www.gtk.org/"
+install="$pkgname.post-install $pkgname.post-upgrade $pkgname.post-deinstall"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc"
-depends="atk
- cairo
- glib
- libice
- libjpeg
- libx11
- libxcursor
- libxdamage
- libxext
- libxi
- libxfixes
- libxrandr
- pango
- tiff
- uclibc"
+depends=
makedepends="pkgconfig
atk-dev
cairo-dev
+ expat-dev
+ gettext-dev
glib-dev
+ gnutls-dev
libice-dev
libiconv-dev
libjpeg-dev
libx11-dev
+ libxcomposite-dev
libxcursor-dev
libxdamage-dev
libxext-dev
@@ -37,11 +28,10 @@ makedepends="pkgconfig
libxi-dev
pango-dev
tiff-dev"
-# libxinerama libcups>=1.3.9 libxcomposite heimdal>=1.2.1 gnutls>=2.6.3"
-#install=gtk2.install
-source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2"
+source="http://ftp.gnome.org/pub/gnome/sources/gtk+/${pkgver%.*}/gtk+-$pkgver.tar.bz2
+ $install"
-depends_dev="atk-dev pango-dev cairo-dev"
+depends_dev="atk-dev pango-dev cairo-dev glib-dev"
build() {
cd "$srcdir"/gtk+-$pkgver
./configure --prefix=/usr \
@@ -53,4 +43,7 @@ build() {
make || return 1
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="139528802794287427fd4d18875b5cf5 gtk+-2.16.0.tar.bz2"
+md5sums="396e98df15f6e4005e360b5710660ce3 gtk+-2.16.2.tar.bz2
+bf14adb7cc12acf93409ccf83545da06 gtk+.post-install
+bf14adb7cc12acf93409ccf83545da06 gtk+.post-upgrade
+ddc2c8add489c9f7f48f92cea34c05e6 gtk+.post-deinstall"