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

Jan Steffens heftig at gemini.archlinux.org
Thu Mar 24 12:36:27 UTC 2022


    Date: Thursday, March 24, 2022 @ 12:36:27
  Author: heftig
Revision: 440643

2.38.0-1

Modified:
  atk/trunk/PKGBUILD

----------+
 PKGBUILD |   21 +++++++++++----------
 1 file changed, 11 insertions(+), 10 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-24 11:48:48 UTC (rev 440642)
+++ PKGBUILD	2022-03-24 12:36:27 UTC (rev 440643)
@@ -1,8 +1,8 @@
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Maintainer: Jan de Groot <jgc at archlinux.org>
+# Maintainer: Jan Alexander Steffens (heftig) <heftig at archlinux.org>
+# Contributor: Jan de Groot <jgc at archlinux.org>
 
 pkgname=atk
-pkgver=2.36.0
+pkgver=2.38.0
 pkgrel=1
 pkgdesc="Interface definitions of accessibility infrastructure"
 url="https://gitlab.gnome.org/GNOME/atk"
@@ -11,22 +11,23 @@
 depends=(glib2)
 makedepends=(gobject-introspection git gtk-doc meson)
 provides=(libatk-1.0.so)
-_commit=dbe95f6170ae1f4bb76c755506b4e3dd3990d5aa  # tags/ATK_2_36_0^0
+options=(debug)
+_commit=f1051ba57a2110c46a136a48f4d60a405bc2c3f5  # tags/2.38.0^0
 source=("git+https://gitlab.gnome.org/GNOME/atk.git#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^ATK_//;s/_/./g;s/-/+/g'
+  cd atk
+  git describe --tags | sed 's/^ATK_//;s/_/./g;s/[^-]*-g/r&/;s/-/+/g'
 }
 
 prepare() {
-  cd $pkgname
+  cd atk
 }
 
 build() {
-  arch-meson $pkgname build -D docs=true
-  ninja -C build
+  arch-meson atk build -D docs=true
+  meson compile -C build
 }
 
 check() {
@@ -34,5 +35,5 @@
 }
 
 package() {
-  DESTDIR="$pkgdir" meson install -C build
+  meson install -C build --destdir "$pkgdir"
 }



More information about the arch-commits mailing list