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

Jan Steffens heftig at archlinux.org
Sun Sep 10 07:38:46 UTC 2017


    Date: Sunday, September 10, 2017 @ 07:38:45
  Author: heftig
Revision: 305208

2.25.3-1

Modified:
  at-spi2-atk/trunk/PKGBUILD

----------+
 PKGBUILD |   29 ++++++++++++++---------------
 1 file changed, 14 insertions(+), 15 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-10 07:33:11 UTC (rev 305207)
+++ PKGBUILD	2017-09-10 07:38:45 UTC (rev 305208)
@@ -2,39 +2,38 @@
 # Contributor: Ionut Biru <ibiru at archlinux.org>
 
 pkgname=at-spi2-atk
-pkgver=2.24.1
+pkgver=2.25.3
 pkgrel=1
 pkgdesc="A GTK+ module that bridges ATK to D-Bus at-spi"
-arch=('i686' 'x86_64')
 url="https://wiki.gnome.org/Accessibility"
-license=('GPL2')
-depends=('at-spi2-core' 'libx11' 'atk')
-makedepends=('git')
-_commit=ad3da20b099593520b488e04c11b2eeee2bc39c3  # tags/AT_SPI2_ATK_2_24_1^0
+arch=(i686 x86_64)
+license=(GPL2)
+depends=(at-spi2-core libx11 libxml2 atk)
+makedepends=(git meson)
+_commit=d360bc28c5b041d5920a28a40a8bf110b74e3b84  # tags/AT_SPI2_ATK_2_25_3^0
 source=("git+https://git.gnome.org/browse/at-spi2-atk#commit=$_commit")
 sha256sums=('SKIP')
 
 pkgver() {
   cd $pkgname
-  git describe --tags | sed -e 's/AT_SPI2_ATK_//' -e 's/_/\./g' -e 's/-/+/g'
+  git describe --tags | sed 's/^AT_SPI2_ATK_//;s/_/./g;s/-/+/g'
 }
 
 prepare() {
+  mkdir build
   cd $pkgname
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgname
-  ./configure --prefix=/usr --sysconfdir=/etc \
-    --disable-schemas-compile
-  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
-  make
+  cd build
+  meson setup --prefix=/usr --buildtype=release ../$pkgname \
+    --sysconfdir=/etc
+  ninja
 }
 
 package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
+  cd build
+  DESTDIR="$pkgdir" ninja install
 }
 
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list