[arch-commits] Commit in rtkit/repos/extra-x86_64 (PKGBUILD PKGBUILD rtkit.install)

Jan Steffens heftig at archlinux.org
Wed Nov 22 15:33:47 UTC 2017


    Date: Wednesday, November 22, 2017 @ 15:33:46
  Author: heftig
Revision: 310626

archrelease: copy trunk to extra-x86_64

Added:
  rtkit/repos/extra-x86_64/PKGBUILD
    (from rev 310625, rtkit/trunk/PKGBUILD)
Deleted:
  rtkit/repos/extra-x86_64/PKGBUILD
  rtkit/repos/extra-x86_64/rtkit.install

---------------+
 PKGBUILD      |  104 ++++++++++++++++++++++++++++----------------------------
 rtkit.install |   15 --------
 2 files changed, 53 insertions(+), 66 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2017-11-22 15:33:11 UTC (rev 310625)
+++ PKGBUILD	2017-11-22 15:33:46 UTC (rev 310626)
@@ -1,51 +0,0 @@
-# $Id$
-# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
-# Contributor: Corrado Primier <bardo at aur.archlinux.org>
-
-pkgname=rtkit
-pkgver=0.11+6+g417bb7d
-pkgrel=1
-pkgdesc="Realtime Policy and Watchdog Daemon"
-arch=(i686 x86_64)
-url="https://github.com/heftig/rtkit"
-license=(GPL3 'custom:BSD')
-depends=(dbus polkit systemd)
-makedepends=(git)
-install=rtkit.install
-_commit=417bb7d79b39ebf7dc799f2b4da62e3996b65542  # master
-source=("git+https://github.com/heftig/rtkit#commit=$_commit")
-sha256sums=('SKIP')
-
-pkgver() {
-  cd $pkgname
-  git describe --tags | sed 's/^v//;s/-/+/g'
-}
-
-prepare() {
-  cd $pkgname
-  ./autogen.sh
-}
-
-build() {
-  cd $pkgname
-  ./configure \
-    --prefix=/usr \
-    --sbindir=/usr/bin \
-    --sysconfdir=/etc \
-    --libexecdir=/usr/lib/$pkgname \
-    --with-systemdsystemunitdir=/usr/lib/systemd/system
-  make
-
-  ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
-}
-
-package() {
-  cd $pkgname
-  make DESTDIR="$pkgdir" install
-
-  install -Dm644 org.freedesktop.RealtimeKit1.xml \
-    "$pkgdir/usr/share/dbus-1/interfaces/org.freedesktop.RealtimeKit1.xml"
-
-  install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-  sed -ne '4,25p' rtkit.c >"$pkgdir/usr/share/licenses/$pkgname/COPYING"
-}

Copied: rtkit/repos/extra-x86_64/PKGBUILD (from rev 310625, rtkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2017-11-22 15:33:46 UTC (rev 310626)
@@ -0,0 +1,53 @@
+# $Id$
+# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens at gmail.com>
+# Contributor: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=rtkit
+pkgver=0.11+8+ge0a51fe
+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)
+_commit=e0a51fe262ff7167622a8e58f876a663b9471124  # master
+source=("git+https://github.com/heftig/rtkit#commit=$_commit")
+sha256sums=('SKIP')
+
+pkgver() {
+  cd $pkgname
+  git describe --tags | sed 's/^v//;s/-/+/g'
+}
+
+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
+
+  ./rtkit-daemon --introspect > org.freedesktop.RealtimeKit1.xml
+}
+
+package() {
+  cd $pkgname
+  make DESTDIR="$pkgdir" install
+
+  install -Dt "$pkgdir/usr/share/dbus-1/interfaces" -m644 org.freedesktop.RealtimeKit1.xml
+
+  echo 'u rtkit 133 "RealtimeKit" /proc' |
+    install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/$pkgname.conf"
+
+  sed -ne '4,25p' rtkit.c |
+    install -Dm644 /dev/stdin "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+  install -Dt "$pkgdir/usr/share/licenses/$pkgname" -m644 LICENSE
+}

Deleted: rtkit.install
===================================================================
--- rtkit.install	2017-11-22 15:33:11 UTC (rev 310625)
+++ rtkit.install	2017-11-22 15:33:46 UTC (rev 310626)
@@ -1,15 +0,0 @@
-post_install() {
-  if ! getent passwd rtkit &>/dev/null; then
-    groupadd -g 133 rtkit
-    useradd -u 133 -g rtkit -c 'RealtimeKit' -s /bin/false -d /proc rtkit
-  fi
-
-  post_upgrade
-}
-
-post_upgrade() {
-  dbus-send --system --type=method_call --dest=org.freedesktop.DBus / org.freedesktop.DBus.ReloadConfig &>/dev/null
-  return 0
-}
-
-# vim:set ts=2 sw=2 et:


More information about the arch-commits mailing list