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

Jan Steffens heftig at archlinux.org
Fri Aug 4 19:07:22 UTC 2017


    Date: Friday, August 4, 2017 @ 19:07:21
  Author: heftig
Revision: 301648

0.7.2-1

Modified:
  libxkbcommon/trunk/PKGBUILD

----------+
 PKGBUILD |   26 ++++++++++++--------------
 1 file changed, 12 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-08-04 19:03:18 UTC (rev 301647)
+++ PKGBUILD	2017-08-04 19:07:21 UTC (rev 301648)
@@ -5,7 +5,7 @@
 
 pkgbase=libxkbcommon
 pkgname=(libxkbcommon libxkbcommon-x11)
-pkgver=0.7.1
+pkgver=0.7.2
 pkgrel=1
 pkgdesc="Keymap handling library for toolkits and window systems"
 arch=(i686 x86_64)
@@ -13,9 +13,8 @@
 license=(custom)
 depends=(xkeyboard-config glibc)
 checkdepends=(xorg-server-xvfb libgl)
-makedepends=(libxcb doxygen xorg-util-macros autoconf-archive git graphviz
-             wayland wayland-protocols)
-_commit=877fe59ac362b4e9afb2979b6e0bc837950a1dad  # tags/xkbcommon-0.7.1^0
+makedepends=(libxcb doxygen git graphviz wayland wayland-protocols meson)
+_commit=ba9568bdb128f3c5f717b8503439ef6e50a66e97  # tags/xkbcommon-0.7.2^0
 source=("git+https://github.com/xkbcommon/libxkbcommon#commit=$_commit")
 md5sums=('SKIP')
 
@@ -25,26 +24,25 @@
 }
 
 prepare() {
-  mkdir -p x11/usr/{include/xkbcommon,lib/pkgconfig}
+  mkdir -p build x11/usr/{include/xkbcommon,lib/pkgconfig}
   cd $pkgbase
-  NOCONFIGURE=1 ./autogen.sh
 }
 
 build() {
-  cd $pkgbase
-  ./configure --prefix=/usr --disable-static
-  make
+  cd build
+  meson --prefix=/usr --buildtype=release ../$pkgbase
+  ninja
 }
 
 check() {
-  cd $pkgbase
-  xvfb-run -a make -k check
+  cd build
+  xvfb-run -a mesontest
 }
 
 package_libxkbcommon() {
-  cd $pkgbase
-  make DESTDIR="$pkgdir" install
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/libxkbcommon/LICENSE"
+  cd build
+  DESTDIR="$pkgdir" ninja install
+  install -Dm644 ../$pkgbase/LICENSE "$pkgdir/usr/share/licenses/libxkbcommon/LICENSE"
 
 ### Split libxkbcommon-x11
 



More information about the arch-commits mailing list