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

Jan Steffens heftig at archlinux.org
Sat Mar 17 20:08:43 UTC 2018


    Date: Saturday, March 17, 2018 @ 20:08:40
  Author: heftig
Revision: 308983

2.28.0+2+g32f5756-1

Modified:
  lib32-atk/trunk/PKGBUILD

----------+
 PKGBUILD |   42 ++++++++++++++++++------------------------
 1 file changed, 18 insertions(+), 24 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-17 20:08:34 UTC (rev 308982)
+++ PKGBUILD	2018-03-17 20:08:40 UTC (rev 308983)
@@ -1,50 +1,44 @@
 # $Id$
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
 # 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
+pkgname=lib32-atk
+pkgver=2.28.0+2+g32f5756
 pkgrel=1
 pkgdesc="The interface definitions of accessibility infrastructure (32-bit)"
-url='https://developer.gnome.org/atk/'
+url="https://git.gnome.org/browse/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
+depends=(lib32-glib2 atk)
+makedepends=(gobject-introspection git gtk-doc meson)
+_commit=32f57563a73f30dfc2058ae2af0723676cbb8dc0  # gnome-3-28
 source=("git+https://git.gnome.org/browse/atk#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $_pkgname
+  cd atk
   git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
 }
 
 prepare() {
-  mkdir build
-  cd $_pkgname
+  cd atk
 }
 
-check() {
-  cd build
-  meson test
-}
- 
 build() {
   export CC="gcc -m32"
   export CXX="g++ -m32"
-  export PKG_CONFIG_PATH="/usr/lib32/pkgconfig"
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
 
+  arch-meson atk build -D enable_docs=false --libdir=/usr/lib32
+  ninja -C build
+}
+
+check() {
   cd build
-  arch-meson --libdir=/usr/lib32 --libexecdir=/usr/lib32 ../$_pkgname \
-    -Ddisable_introspection=true
-  ninja
+  meson test
 }
 
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
-
-  rm -rf "${pkgdir}"/usr/{include,share}
+  DESTDIR="$pkgdir" ninja -C build install
+  rm -r "${pkgdir}"/usr/{include,share}
 }



More information about the arch-commits mailing list