[arch-commits] Commit in lib32-atk/repos/multilib-x86_64 (PKGBUILD PKGBUILD)

Laurent Carlier lcarlier at archlinux.org
Tue Nov 7 04:21:42 UTC 2017


    Date: Tuesday, November 7, 2017 @ 04:21:41
  Author: lcarlier
Revision: 265630

archrelease: copy trunk to multilib-x86_64

Added:
  lib32-atk/repos/multilib-x86_64/PKGBUILD
    (from rev 265629, lib32-atk/trunk/PKGBUILD)
Deleted:
  lib32-atk/repos/multilib-x86_64/PKGBUILD

----------+
 PKGBUILD |   95 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 50 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-07 04:21:36 UTC (rev 265629)
+++ PKGBUILD	2017-11-07 04:21:41 UTC (rev 265630)
@@ -1,45 +0,0 @@
-# $Id$
-# Contributor: Pierre Schmitz <pierre at archlinux.de>
-# Maintainer: Mikko Seppälä <t-r-a-y at mbnet.fi>
-
-_pkgname=atk
-pkgname=lib32-$_pkgname
-pkgver=2.24.0+4+gbf71ccc
-pkgrel=1
-pkgdesc="The interface definitions of accessibility infrastructure (32-bit)"
-url='https://developer.gnome.org/atk/'
-arch=(x86_64)
-license=(LGPL)
-depends=(lib32-glib2 $_pkgbasename)
-makedepends=(gcc-multilib git gtk-doc)
-commit=7d1f9a6fcf4654c41e64707d3684645ac037c239 # tags/ATK_2_24_0^0
-source=("git+https://git.gnome.org/browse/atk#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $_pkgname
-  git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
-}
-
-prepare() {
-  cd $_pkgname
-  NOCONFIGURE=1 ./autogen.sh
-}
-
-build() {
-  export CC="gcc -m32"
-  export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
-
-  cd $_pkgname
-  ./configure --prefix=/usr --libdir=/usr/lib32 \
-    --disable-introspection
-  make
-}
-
-package() {
-  cd $_pkgname
-  make DESTDIR="${pkgdir}" install
-
-  rm -rf "${pkgdir}"/usr/{include,share}
-}

Copied: lib32-atk/repos/multilib-x86_64/PKGBUILD (from rev 265629, lib32-atk/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-07 04:21:41 UTC (rev 265630)
@@ -0,0 +1,50 @@
+# $Id$
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+# Maintainer: Mikko Seppälä <t-r-a-y at mbnet.fi>
+
+_pkgname=atk
+pkgname=lib32-$_pkgname
+pkgver=2.26.1
+pkgrel=1
+pkgdesc="The interface definitions of accessibility infrastructure (32-bit)"
+url='https://developer.gnome.org/atk/'
+arch=(x86_64)
+license=(LGPL)
+depends=(lib32-glib2 $_pkgbasename)
+makedepends=(gcc-multilib git gtk-doc meson)
+_commit=6ce1698e8bff43d72c1f00d60f16e19d3b057899 # tags/ATK_2_26_1^0
+source=("git+https://git.gnome.org/browse/atk#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $_pkgname
+  git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  mkdir build
+  cd $_pkgname
+}
+
+check() {
+  cd build
+  meson test
+}
+ 
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+
+  cd build
+  arch-meson --libdir=/usr/lib32 --libexecdir=/usr/lib32 ../$_pkgname \
+    -Ddisable_introspection=true
+  ninja
+}
+
+package() {
+  cd build
+  DESTDIR="$pkgdir" ninja install
+
+  rm -rf "${pkgdir}"/usr/{include,share}
+}


More information about the arch-commits mailing list