[arch-commits] Commit in gtk2/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Tue Jan 9 02:57:42 UTC 2018
Date: Tuesday, January 9, 2018 @ 02:57:41
Author: heftig
Revision: 314275
2.24.32-1
Modified:
gtk2/trunk/PKGBUILD
----------+
PKGBUILD | 48 ++++++++++++++++++++++++------------------------
1 file changed, 24 insertions(+), 24 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-01-09 02:48:37 UTC (rev 314274)
+++ PKGBUILD 2018-01-09 02:57:41 UTC (rev 314275)
@@ -2,11 +2,11 @@
# Maintainer: Jan de Groot <jgc at archlinux.org>
pkgname=gtk2
-pkgver=2.24.31
+pkgver=2.24.32
pkgrel=1
pkgdesc="GObject-based multi-platform GUI toolkit (legacy)"
arch=(x86_64)
-url="http://www.gtk.org/"
+url="https://www.gtk.org/"
depends=(atk pango libxcursor libxinerama libxrandr libxi libxcomposite libxdamage
shared-mime-info cairo libcups gtk-update-icon-cache librsvg desktop-file-utils)
makedepends=(gobject-introspection python2 git gtk-doc)
@@ -14,8 +14,8 @@
'adwaita-icon-theme: Default icon theme')
license=(LGPL)
install=gtk2.install
-_commit=09c0b9c8a0f3dad599c179829ffb3a2e81f6efde
-source=("git://git.gnome.org/gtk+#commit=$_commit"
+_commit=ed7d3e25f8b6debae6ccc8b50d1329155338cab8 # tags/2.24.32^0
+source=("git+https://git.gnome.org/browse/gtk+#commit=$_commit"
gtkrc
gtk-query-immodules-2.0.hook
xid-collision-debug.patch)
@@ -30,36 +30,36 @@
}
prepare() {
- cd gtk+
- patch -Np1 -i ../xid-collision-debug.patch
- sed -i '1s/python$/&2/' gtk/gtk-builder-convert
- NOCONFIGURE=1 ./autogen.sh
+ cd gtk+
+ patch -Np1 -i ../xid-collision-debug.patch
+ sed -i '1s/python$/&2/' gtk/gtk-builder-convert
+ NOCONFIGURE=1 ./autogen.sh
}
build() {
- cd gtk+
+ cd gtk+
- CXX=/bin/false ./configure --prefix=/usr \
- --sysconfdir=/etc \
- --localstatedir=/var \
- --with-xinput=yes \
- --enable-gtk-doc
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --with-xinput=yes \
+ --disable-gtk-doc
- # https://bugzilla.gnome.org/show_bug.cgi?id=655517
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+ # https://bugzilla.gnome.org/show_bug.cgi?id=655517
+ sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ make
}
package() {
- cd gtk+
- make DESTDIR="$pkgdir" install
+ cd gtk+
+ make DESTDIR="$pkgdir" install
- install -Dm644 ../gtkrc "$pkgdir/usr/share/gtk-2.0/gtkrc"
- install -Dm644 ../gtk-query-immodules-2.0.hook "$pkgdir/usr/share/libalpm/hooks/gtk-query-immodules-2.0.hook"
+ install -Dt "$pkgdir/usr/share/gtk-2.0" -m644 ../gtkrc
+ install -Dt "$pkgdir/usr/share/libalpm/hooks" -m644 ../gtk-query-immodules-2.0.hook
- rm "$pkgdir/usr/bin/gtk-update-icon-cache"
- rm -r "$pkgdir/usr/share/gtk-doc"
+ rm "$pkgdir/usr/bin/gtk-update-icon-cache"
}
-# vim:set et sw=4:
+# vim:set et sw=2:
More information about the arch-commits
mailing list