[arch-commits] Commit in rtkit/trunk (PKGBUILD)
Jan Steffens
heftig at archlinux.org
Sun Apr 5 02:38:24 UTC 2020
Date: Sunday, April 5, 2020 @ 02:38:24
Author: heftig
Revision: 379530
0.13-1
Modified:
rtkit/trunk/PKGBUILD
----------+
PKGBUILD | 32 ++++++++++++++------------------
1 file changed, 14 insertions(+), 18 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-05 02:19:14 UTC (rev 379529)
+++ PKGBUILD 2020-04-05 02:38:24 UTC (rev 379530)
@@ -2,7 +2,7 @@
# Contributor: Corrado Primier <bardo at aur.archlinux.org>
pkgname=rtkit
-pkgver=0.12
+pkgver=0.13
pkgrel=1
pkgdesc="Realtime Policy and Watchdog Daemon"
arch=(x86_64)
@@ -9,10 +9,11 @@
url="https://github.com/heftig/rtkit"
license=(GPL3 'custom:BSD')
depends=(dbus polkit systemd)
-makedepends=(git)
-_commit=4c7e5ca63b1278b41c31b63a4ca5cce331d9db2e # tags/v0.12^0
-source=("git+https://github.com/heftig/rtkit#commit=$_commit")
+makedepends=(git meson vim)
+_commit=b9169402fe5e82d20efb754509eb0b191f214599 # tags/v0.13^0
+source=("git+https://github.com/heftig/rtkit?signed#commit=$_commit")
sha256sums=('SKIP')
+validpgpkeys=('8218F88849AAC522E94CF470A5E9288C4FA415FA') # Jan Alexander Steffens (heftig)
pkgver() {
cd $pkgname
@@ -21,28 +22,23 @@
prepare() {
cd $pkgname
- ./autogen.sh
}
build() {
- cd $pkgname
- ./configure \
- --prefix=/usr \
- --sbindir=/usr/bin \
- --sysconfdir=/etc \
- --libexecdir=/usr/lib \
- --with-systemdsystemunitdir=/usr/lib/systemd/system
- make
+ arch-meson $pkgname build -D installed_tests=false
}
+check() {
+ meson test -C build --print-errorlogs
+}
+
package() {
- cd $pkgname
- make DESTDIR="$pkgdir" install
- rm -r "$pkgdir/usr/lib/installed-tests"
+ DESTDIR="$pkgdir" meson install -C build
echo 'u rtkit 133 "RealtimeKit" /proc' |
install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
- install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
- sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
+ install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 $pkgname/LICENSE
+ sed -ne '4,25p' $pkgname/rtkit.c |
+ install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
More information about the arch-commits
mailing list