mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
removed extra/rtkit
This commit is contained in:
parent
7b4359853a
commit
21053ce96c
1 changed files with 0 additions and 52 deletions
|
@ -1,52 +0,0 @@
|
||||||
# Maintainer: Jan Alexander Steffens (heftig) <jan.steffens@gmail.com>
|
|
||||||
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
|
|
||||||
|
|
||||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
|
||||||
# - fix xml-introspection.S assembly for ARM (@ == comment)
|
|
||||||
|
|
||||||
pkgname=rtkit
|
|
||||||
pkgver=0.12
|
|
||||||
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=4c7e5ca63b1278b41c31b63a4ca5cce331d9db2e # tags/v0.12^0
|
|
||||||
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
|
|
||||||
sed -i 's/@object/%object/' xml-introspection.S
|
|
||||||
./autogen.sh
|
|
||||||
}
|
|
||||||
|
|
||||||
build() {
|
|
||||||
cd $pkgname
|
|
||||||
./configure \
|
|
||||||
--prefix=/usr \
|
|
||||||
--sbindir=/usr/bin \
|
|
||||||
--sysconfdir=/etc \
|
|
||||||
--libexecdir=/usr/lib \
|
|
||||||
--with-systemdsystemunitdir=/usr/lib/systemd/system
|
|
||||||
make
|
|
||||||
}
|
|
||||||
|
|
||||||
package() {
|
|
||||||
cd $pkgname
|
|
||||||
make DESTDIR="$pkgdir" install
|
|
||||||
rm -r "$pkgdir/usr/lib/installed-tests"
|
|
||||||
|
|
||||||
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"
|
|
||||||
}
|
|
Loading…
Reference in a new issue