[arch-commits] Commit in rtkit/repos (testing-x86_64 testing-x86_64/PKGBUILD)

Jan Steffens heftig at archlinux.org
Sun Apr 5 02:38:47 UTC 2020


    Date: Sunday, April 5, 2020 @ 02:38:46
  Author: heftig
Revision: 379531

archrelease: copy trunk to testing-x86_64

Added:
  rtkit/repos/testing-x86_64/
  rtkit/repos/testing-x86_64/PKGBUILD
    (from rev 379530, rtkit/trunk/PKGBUILD)

----------+
 PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 44 insertions(+)

Copied: rtkit/repos/testing-x86_64/PKGBUILD (from rev 379530, rtkit/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD	                        (rev 0)
+++ testing-x86_64/PKGBUILD	2020-04-05 02:38:46 UTC (rev 379531)
@@ -0,0 +1,44 @@
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=rtkit
+pkgver=0.13
+pkgrel=1
+pkgdesc="Realtime Policy and Watchdog Daemon"
+arch=(x86_64)
+url="https://github.com/heftig/rtkit"
+license=(GPL3 'custom:BSD')
+depends=(dbus polkit systemd)
+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
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+prepare() {
+  cd $pkgname
+}
+
+build() {
+  arch-meson $pkgname build -D installed_tests=false
+}
+
+check() {
+  meson test -C build --print-errorlogs
+}
+
+package() {
+  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 $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