[arch-commits] Commit in libxmlb/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Fri Mar 15 21:22:33 UTC 2019
Date: Friday, March 15, 2019 @ 21:22:33
Author: heftig
Revision: 442052
0.1.7-2: enable stemmer
Modified:
libxmlb/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++--------
1 file changed, 11 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-03-15 20:26:10 UTC (rev 442051)
+++ PKGBUILD 2019-03-15 21:22:33 UTC (rev 442052)
@@ -2,7 +2,7 @@
pkgname=libxmlb
pkgver=0.1.7
-pkgrel=1
+pkgrel=2
pkgdesc="A library to help create and query binary XML blobs"
arch=('x86_64')
url="https://github.com/hughsie/libxmlb"
@@ -11,20 +11,23 @@
makedepends=('meson' 'gobject-introspection' 'gtk-doc')
checkdepends=('shared-mime-info')
source=("https://people.freedesktop.org/~hughsient/releases/${pkgname}-${pkgver}.tar.xz"{,.asc})
-sha256sums=('616cdc448db2a213e0298b8c4d0a0eb3056bc927fba364c107a9f0d3c8cd364b' 'SKIP')
+sha256sums=('616cdc448db2a213e0298b8c4d0a0eb3056bc927fba364c107a9f0d3c8cd364b'
+ 'SKIP')
validpgpkeys=('163EB50119225DB3DF8F49EA17ACBA8DFA970E17') # Richard Hughes <richard at hughsie.com>
-build() {
+prepare() {
cd ${pkgname}-${pkgver}
- arch-meson ../build
- ninja -v -C ../build
}
+build() {
+ arch-meson ${pkgname}-${pkgver} build -D stemmer=true
+ ninja -v -C build
+}
+
check() {
- cd build
- meson test
+ meson test -C build --print-errorlogs
}
package() {
- DESTDIR="${pkgdir}" ninja -C build install
+ DESTDIR="${pkgdir}" meson install -C build
}
More information about the arch-commits
mailing list