Date: Thursday, March 24, 2022 @ 13:20:53 Author: heftig Revision: 1174700
2.38.0-1 Modified: lib32-atk/trunk/PKGBUILD ----------+ PKGBUILD | 31 ++++++++++++++----------------- 1 file changed, 14 insertions(+), 17 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2022-03-24 12:57:05 UTC (rev 1174699) +++ PKGBUILD 2022-03-24 13:20:53 UTC (rev 1174700) @@ -2,22 +2,23 @@ # Contributor: Pierre Schmitz <pie...@archlinux.de> pkgname=lib32-atk -pkgver=2.36.0 -pkgrel=2 -pkgdesc="The interface definitions of accessibility infrastructure (32-bit)" -url="https://git.gnome.org/browse/atk" +pkgver=2.38.0 +pkgrel=1 +pkgdesc="Interface definitions of accessibility infrastructure (32-bit)" +url="https://gitlab.gnome.org/GNOME/atk" arch=(x86_64) license=(LGPL) depends=(lib32-glib2 atk) makedepends=(git gtk-doc meson) provides=(libatk-1.0.so) -_commit=dbe95f6170ae1f4bb76c755506b4e3dd3990d5aa # tags/ATK_2_36_0^0 -source=("git+https://git.gnome.org/browse/atk#commit=$_commit") -sha512sums=('SKIP') +options=(debug) +_commit=f1051ba57a2110c46a136a48f4d60a405bc2c3f5 # tags/2.38.0^0 +source=("git+https://gitlab.gnome.org/GNOME/atk.git#commit=$_commit") +sha256sums=('SKIP') pkgver() { cd atk - git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g' + git describe --tags | sed 's/^ATK_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g' } prepare() { @@ -27,21 +28,17 @@ build() { export CC="gcc -m32" export CXX="g++ -m32" - export PKG_CONFIG_PATH=/usr/lib32/pkgconfig + export PKG_CONFIG=i686-pc-linux-gnu-pkg-config - arch-meson atk build \ - -D introspection=false \ - -D enable_docs=false \ - --libdir=/usr/lib32 - ninja -C build + arch-meson atk build --libdir /usr/lib32 -D introspection=false + meson compile -C build } check() { - cd build - meson test + meson test -C build --print-errorlogs } package() { - DESTDIR="$pkgdir" ninja -C build install + meson install -C build --destdir "$pkgdir" rm -r "${pkgdir}"/usr/{include,share} }