[arch-commits] Commit in lib32-libxkbcommon/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Oct 20 16:52:49 UTC 2019
Date: Sunday, October 20, 2019 @ 16:52:48
Author: heftig
Revision: 517793
0.9.0-1
Modified:
lib32-libxkbcommon/trunk/PKGBUILD
----------+
PKGBUILD | 17 +++++++++++------
1 file changed, 11 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-20 16:47:56 UTC (rev 517792)
+++ PKGBUILD 2019-10-20 16:52:48 UTC (rev 517793)
@@ -5,14 +5,15 @@
pkgbase=lib32-libxkbcommon
pkgname=('lib32-libxkbcommon' 'lib32-libxkbcommon-x11')
-pkgver=0.8.4
+pkgver=0.9.0
pkgrel=1
+url='https://xkbcommon.org/'
arch=('x86_64')
-url='https://xkbcommon.org/'
license=('custom')
makedepends=('git' 'lib32-libxcb' 'lib32-wayland' 'meson' 'wayland-protocols'
'xorg-util-macros')
-source=("git+https://github.com/xkbcommon/libxkbcommon.git#tag=xkbcommon-${pkgver}")
+checkdepends=('xorg-server-xvfb' 'libgl')
+source=("git+https://github.com/xkbcommon/libxkbcommon#tag=xkbcommon-${pkgver}")
sha256sums=('SKIP')
prepare() {
@@ -21,19 +22,23 @@
build() {
export CC='gcc -m32'
- export PKG_CONFIG_PATH='/usr/lib32/pkgconfig'
+ export PKG_CONFIG='i686-pc-linux-gnu-pkg-config'
arch-meson libxkbcommon build \
--libdir='/usr/lib32' \
- -Denable-docs='false'
+ -D enable-docs='false'
ninja -C build
}
+check() {
+ xvfb-run -a meson test -C build --print-errorlogs
+}
+
package_lib32-libxkbcommon() {
pkgdesc='Keymap handling library for toolkits and window systems'
depends=('lib32-glibc' 'libxkbcommon')
- DESTDIR="${pkgdir}" ninja -C build install
+ DESTDIR="${pkgdir}" meson install -C build
rm -rf "${pkgdir}"/usr/include
install -dm 755 "${pkgdir}"/usr/share/licenses
More information about the arch-commits
mailing list