[arch-commits] Commit in lib32-atk/repos (2 files)

Felix Yan felixonmars at archlinux.org
Thu Sep 13 17:02:12 UTC 2018


    Date: Thursday, September 13, 2018 @ 17:02:11
  Author: felixonmars
Revision: 380411

archrelease: copy trunk to multilib-testing-x86_64

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

----------+
 PKGBUILD |   43 +++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 43 insertions(+)

Copied: lib32-atk/repos/multilib-testing-x86_64/PKGBUILD (from rev 380409, lib32-atk/trunk/PKGBUILD)
===================================================================
--- multilib-testing-x86_64/PKGBUILD	                        (rev 0)
+++ multilib-testing-x86_64/PKGBUILD	2018-09-13 17:02:11 UTC (rev 380411)
@@ -0,0 +1,43 @@
+# Contributor: Mikko Seppälä <t-r-a-y at mbnet.fi>
+# Contributor: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=lib32-atk
+pkgver=2.30.0
+pkgrel=1
+pkgdesc="The interface definitions of accessibility infrastructure (32-bit)"
+url="https://git.gnome.org/browse/atk"
+arch=(x86_64)
+license=(LGPL)
+depends=(lib32-glib2 atk)
+makedepends=(gobject-introspection git gtk-doc meson)
+_commit=90ed6bd964b8a2b93c7cf3ea018483e437913785 # tags/ATK_2_30_0^0
+source=("git+https://git.gnome.org/browse/atk#commit=$_commit")
+sha512sums=('SKIP')
+
+pkgver() {
+  cd atk
+  git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
+}
+
+prepare() {
+  cd atk
+}
+
+build() {
+  export CC="gcc -m32"
+  export CXX="g++ -m32"
+  export PKG_CONFIG_PATH=/usr/lib32/pkgconfig
+
+  arch-meson atk build -D enable_docs=false --libdir=/usr/lib32
+  ninja -C build
+}
+
+check() {
+  cd build
+  meson test
+}
+
+package() {
+  DESTDIR="$pkgdir" ninja -C build install
+  rm -r "${pkgdir}"/usr/{include,share}
+}



More information about the arch-commits mailing list