summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorFantix King2014-07-29 13:57:59 +0800
committerFantix King2015-11-17 12:40:04 +0800
commit44e17568b94d1fbc850e34e1d70afcf7f1f299ec (patch)
tree7029422fe5da657d578f8c102b88f2a6c4ff8212 /PKGBUILD
parentb3f1cf0d2fd8977f77f820462d7068f10a084692 (diff)
downloadaur-44e17568b94d1fbc850e34e1d70afcf7f1f299ec.tar.gz
2.40.0-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD31
1 files changed, 12 insertions, 19 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 3673e73c271..0119c74968b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,28 +1,22 @@
-# $Id: PKGBUILD 79203 2012-10-31 14:37:00Z bluewind $
-# Upstream Maintainer: Ionut Biru <ibiru@archlinux.org>
+# $Id: PKGBUILD 109537 2014-04-15 14:55:45Z bluewind $
+# Maintainer: Ionut Biru <ibiru@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Mikko Seppälä <t-r-a-y@mbnet.fi>
-# Maintainer: Fantix King <fantix.king at gmail.com>
+# x32 Maintainer: Fantix King <fantix.king at gmail.com>
_pkgbasename=glib2
pkgname=libx32-$_pkgbasename
-pkgver=2.34.1
-pkgrel=1.1
+pkgver=2.40.0
+pkgrel=1
pkgdesc="Common C routines used by GTK+ 2.4 and other libs (x32 ABI)"
url="http://www.gtk.org/"
arch=('x86_64')
license=('LGPL')
-depends=('libx32-pcre' 'libx32-zlib' 'libx32-dbus-core' libx32-libffi $_pkgbasename)
-makedepends=('gcc-multilib-x32' binx32-python2)
+depends=('libx32-pcre' 'libx32-zlib' 'libx32-libdbus' libx32-libffi $_pkgbasename)
+makedepends=('gcc-multilib-x32' python2)
options=('!libtool' '!docs')
-source=(
-http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz
-glib-2.0_fix_for_x32.patch
-)
-sha256sums=(
-'6e84dc9d84b104725b34d255421ed7ac3629e49f437d37addde5ce3891c2e2f1'
-'a2018bad1f010c036fd6959d514046b5d6315f07aa6a2154f5e591e89ab48ea0'
-)
+source=(http://ftp.gnome.org/pub/GNOME/sources/glib/${pkgver%.*}/glib-${pkgver}.tar.xz)
+sha256sums=('0d27f195966ecb1995dcce0754129fd66ebe820c7cd29200d264b02af1aa28b5')
build() {
export CC="gcc -mx32"
@@ -31,9 +25,7 @@ build() {
cd "${srcdir}/glib-${pkgver}"
- patch -p1 -i "${srcdir}/glib-2.0_fix_for_x32.patch"
-
- PYTHON=/usr/bin/python2.7-x32 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/libx32 \
+ PYTHON=/usr/bin/python2 ./configure --prefix=/usr --sysconfdir=/etc --libdir=/usr/libx32 \
--enable-static --enable-shared --with-pcre=system --disable-fam
make
}
@@ -46,5 +38,6 @@ package() {
cd "${pkgdir}"/usr/bin
mv gio-querymodules gio-querymodules-x32
rm -f gdbus glib* gobject-query gsettings gtester*
- rm -rf "$pkgdir"/usr/{bin,libx32/gdbus-2.0}
+ rm -rf "$pkgdir"/usr/libx32/gdbus-2.0
+ find "$pkgdir/usr/bin" -type f -not -name gio-querymodules-x32 -delete
}