[arch-commits] Commit in lib32-gtk2/trunk (PKGBUILD)

Laurent Carlier lcarlier at nymeria.archlinux.org
Mon May 13 12:23:57 EDT 2013


    Date: Monday, May 13, 2013 @ 18:23:57
  Author: lcarlier
Revision: 90756

upgpkg: lib32-gtk2 2.24.18-1

Sync with extra

Modified:
  lib32-gtk2/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2013-05-13 16:04:18 UTC (rev 90755)
+++ PKGBUILD	2013-05-13 16:23:57 UTC (rev 90756)
@@ -5,8 +5,8 @@
 
 _pkgbasename=gtk2
 pkgname=lib32-$_pkgbasename
-pkgver=2.24.17
-pkgrel=2
+pkgver=2.24.18
+pkgrel=1
 pkgdesc="The GTK+ Toolkit (v2) (32-bit)"
 arch=('x86_64')
 url="http://www.gtk.org/"
@@ -20,18 +20,23 @@
 source=(http://ftp.gnome.org/pub/gnome/sources/gtk+/2.24/gtk+-${pkgver}.tar.xz
         xid-collision-debug.patch
         gtk-modules-32.patch)
-sha256sums=('e947b2b460156d98e8e38930b82458e1d613a71eb26e927f966f7081a640f415'
+sha256sums=('6c963101272ff53bb5b01d21bfb86cebba5f0a68f31c5e10523c63f07e762385'
             'd758bb93e59df15a4ea7732cf984d1c3c19dff67c94b957575efea132b8fe558'
             '2effb13404442ae266d4c663347e88cd1ca19e9a83b452da1743bac16af9c7b0')
 
+prepare() {
+  cd "${srcdir}/gtk+-${pkgver}"
+
+  patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
+  patch -p1 -i ${srcdir}/gtk-modules-32.patch
+}
+
 build() {
   export CC="gcc -m32"
   export CXX="g++ -m32"
   export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
 
   cd "${srcdir}/gtk+-${pkgver}"
-  patch -Np1 -i "${srcdir}/xid-collision-debug.patch"
-  patch -p1 -i ${srcdir}/gtk-modules-32.patch
 
   CXX=/bin/false ./configure --prefix=/usr \
       --sysconfdir=/etc \



More information about the arch-commits mailing list