[arch-commits] Commit in d-feet/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Thu Aug 8 08:45:00 UTC 2019
Date: Thursday, August 8, 2019 @ 08:44:59
Author: heftig
Revision: 498326
0.3.15-1
Modified:
d-feet/trunk/PKGBUILD
----------+
PKGBUILD | 24 ++++++++++++++----------
1 file changed, 14 insertions(+), 10 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-08-08 04:07:42 UTC (rev 498325)
+++ PKGBUILD 2019-08-08 08:44:59 UTC (rev 498326)
@@ -1,7 +1,7 @@
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
pkgname=d-feet
-pkgver=0.3.14
+pkgver=0.3.15
pkgrel=1
pkgdesc="D-Bus debugger for GNOME"
arch=('any')
@@ -8,22 +8,26 @@
url="https://wiki.gnome.org/Apps/DFeet"
license=('GPL2')
depends=('gtk3' 'python-gobject')
-makedepends=('intltool' 'itstool' 'gobject-introspection')
+makedepends=('gobject-introspection' 'meson' 'python-pycodestyle' 'yelp-tools')
+checkdepends=('xorg-server-xvfb')
source=(https://download.gnome.org/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz)
-sha256sums=('eedc20a97e7eee4cce9348a19565db8f5e0947abbf74e34f0711ca4279e414d5')
+sha256sums=('1fff149ad01ccbd93c927f5733346a9122324b9d367da3adbf4f1a52e47dfdb1')
-build() {
+prepare() {
cd $pkgname-$pkgver
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-tests
- make
}
+build() {
+ arch-meson $pkgname-$pkgver build
+ ninja -C build
+}
+
check() {
- cd $pkgname-$pkgver
- make check
+ xvfb-run meson test -C build --print-errorlogs
}
package() {
- cd $pkgname-$pkgver
- make DESTDIR="$pkgdir" install
+ DESTDIR="$pkgdir" meson install -C build
+ python -m compileall -d /usr/lib "$pkgdir/usr/lib"
+ python -O -m compileall -d /usr/lib "$pkgdir/usr/lib"
}
More information about the arch-commits
mailing list