[arch-commits] Commit in umockdev/trunk (PKGBUILD)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Mon Nov 16 19:11:38 UTC 2020
Date: Monday, November 16, 2020 @ 19:11:37
Author: jlichtblau
Revision: 755530
upgpkg: umockdev 0.15-1 - new upstream release
Modified:
umockdev/trunk/PKGBUILD
----------+
PKGBUILD | 22 ++++++++++++++--------
1 file changed, 14 insertions(+), 8 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-16 19:09:31 UTC (rev 755529)
+++ PKGBUILD 2020-11-16 19:11:37 UTC (rev 755530)
@@ -3,7 +3,7 @@
# Contributor: Xiao-Long Chen <chenxiaolong at cxl.epac.to>
pkgname=umockdev
-pkgver=0.14.5
+pkgver=0.15
pkgrel=1
pkgdesc="Record/mock hardware devices for bug reports and regression tests"
arch=('x86_64')
@@ -10,19 +10,25 @@
url="https://github.com/martinpitt/umockdev/"
license=('LGPL')
depends=('systemd' 'libgudev')
-makedepends=('gobject-introspection' 'gtk-doc' 'vala')
+makedepends=('meson' 'gobject-introspection' 'gtk-doc' 'vala')
source=($pkgname-$pkgver.tar.gz::https://github.com/martinpitt/$pkgname/archive/$pkgver.tar.gz)
-sha256sums=('9cc8cbe69e457c480bd580c3bf1339d1ab4f715cc860e1911a6cbc3effb42457')
+sha256sums=('82ea0d204d0d2715f847affc50c10d7bcdd7309eab583440f9f52eb07de35f0d')
build() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd $pkgname-$pkgver
- ./autogen.sh --prefix=/usr --enable-gtk-doc --enable-introspection
- make
+ arch-meson ../build
+ ninja -v -C ../build
}
+check() {
+ cd $pkgname-$pkgver
+
+ meson test -C ../build --print-errorlogs
+}
+
package() {
- cd "${srcdir}"/${pkgname}-${pkgver}
+ cd $pkgname-$pkgver
- make DESTDIR="${pkgdir}" install
+ DESTDIR="${pkgdir}" meson install -C ../build
}
More information about the arch-commits
mailing list