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

Jan Steffens heftig at archlinux.org
Thu Mar 8 18:17:17 UTC 2018


    Date: Thursday, March 8, 2018 @ 18:17:12
  Author: heftig
Revision: 318252

2.26.1+2+gcaefa6d-1

Modified:
  atk/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++-----------
 1 file changed, 8 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-08 18:15:31 UTC (rev 318251)
+++ PKGBUILD	2018-03-08 18:17:12 UTC (rev 318252)
@@ -2,7 +2,7 @@
 # Maintainer: Jan de Groot <jgc at archlinux.org>
 
 pkgname=atk
-pkgver=2.26.1
+pkgver=2.26.1+2+gcaefa6d
 pkgrel=1
 pkgdesc="The interface definitions of accessibility infrastructure"
 url="https://git.gnome.org/browse/atk"
@@ -10,7 +10,7 @@
 license=(LGPL)
 depends=(glib2)
 makedepends=(gobject-introspection git gtk-doc meson)
-_commit=6ce1698e8bff43d72c1f00d60f16e19d3b057899  # tags/ATK_2_26_1^0
+_commit=caefa6d4d305bfd7c7af8e80850cb5c928f7e1f1  # gnome-3-26
 source=("git+https://git.gnome.org/browse/atk#commit=$_commit")
 sha256sums=('SKIP')
 
@@ -20,22 +20,19 @@
 }
 
 prepare() {
-  mkdir build
   cd $pkgname
 }
 
+build() {
+  arch-meson $pkgname build -Denable_docs=true
+  ninja -C build
+}
+
 check() {
   cd build
   meson test
 }
 
-build() {
-  cd build
-  arch-meson ../$pkgname -Denable_docs=true
-  ninja
-}
-
 package() {
-  cd build
-  DESTDIR="$pkgdir" ninja install
+  DESTDIR="$pkgdir" ninja -C build install
 }



More information about the arch-commits mailing list