[arch-commits] Commit in lib32-at-spi2-atk/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sat Mar 17 20:13:43 UTC 2018
Date: Saturday, March 17, 2018 @ 20:13:41
Author: heftig
Revision: 308986
2.26.2-1
Modified:
lib32-at-spi2-atk/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++----------------------
1 file changed, 17 insertions(+), 22 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-17 20:09:49 UTC (rev 308985)
+++ PKGBUILD 2018-03-17 20:13:41 UTC (rev 308986)
@@ -4,44 +4,39 @@
# Contributor:Ionut Biru <ibiru at archlinux.org>
pkgname=lib32-at-spi2-atk
-pkgver=2.26.1
+pkgver=2.26.2
pkgrel=1
pkgdesc='A GTK+ module that bridges ATK to D-Bus at-spi'
arch=('x86_64')
url='https://wiki.gnome.org/Accessibility'
license=('GPL2')
-depends=('at-spi2-atk' 'lib32-at-spi2-core' 'lib32-atk')
-makedepends=('gcc-multilib' 'intltool')
-source=("https://download.gnome.org/sources/at-spi2-atk/${pkgver%.*}/at-spi2-atk-${pkgver}.tar.xz")
-sha256sums=('b4f0c27b61dbffba7a5b5ba2ff88c8cee10ff8dac774fa5b79ce906853623b75')
+depends=('at-spi2-atk' 'lib32-at-spi2-core' 'lib32-atk' 'lib32-libx11' 'lib32-libxml2')
+makedepends=(git meson)
+_commit=196498d7f02e4e5662941213e852ef1ca899cf79 # tags/AT_SPI2_ATK_2_26_2^0
+source=("git+https://git.gnome.org/browse/at-spi2-atk#commit=$_commit")
+sha256sums=('SKIP')
+pkgver() {
+ cd at-spi2-atk
+ git describe --tags | sed 's/^AT_SPI2_ATK_//;s/_/./g;s/-/+/g'
+}
+
prepare() {
- cd at-spi2-atk-${pkgver}
-
- autoreconf -fi
+ cd at-spi2-atk
}
build() {
- cd at-spi2-atk-${pkgver}
-
export CC='gcc -m32'
export CXX='g++ -m32'
export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
- ./configure \
- --prefix='/usr' \
- --libdir='/usr/lib32' \
- --sysconfdir='/etc' \
- --disable-schemas-compile
- sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
- make
+ arch-meson at-spi2-atk build --libdir=/usr/lib32
+ ninja -C build
}
package() {
- cd at-spi2-atk-${pkgver}
-
- make DESTDIR="${pkgdir}" install
- rm -rf "${pkgdir}"/usr/{include,lib32/gnome-settings-daemon-3.0,share}
+ DESTDIR="$pkgdir" ninja -C build install
+ rm -r "$pkgdir"/usr/{include,lib32/gnome-settings-daemon-3.0}
}
-# vim: ts=2 sw=2 et:
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list