[arch-commits] Commit in rtirq/trunk (PKGBUILD)
David Runge
dvzrv at archlinux.org
Wed Mar 7 11:00:00 UTC 2018
Date: Wednesday, March 7, 2018 @ 11:00:00
Author: dvzrv
Revision: 303683
upgpkg: rtirq 20180209-1
Upgrading to 20180209. Switching to https for url and source (upstream moved folders around).
Moving the configuration file to one of its standard locations (/etc/rtirq.conf).
Modified:
rtirq/trunk/PKGBUILD
----------+
PKGBUILD | 20 +++++++++-----------
1 file changed, 9 insertions(+), 11 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-03-07 10:59:27 UTC (rev 303682)
+++ PKGBUILD 2018-03-07 11:00:00 UTC (rev 303683)
@@ -3,22 +3,21 @@
# Contributor: Corey Mwamba <contact.me at coreymwamba.co.uk>
pkgname=rtirq
-pkgver=20150216
-pkgrel=2
+pkgver=20180209
+pkgrel=1
pkgdesc="Realtime IRQ thread system tuning."
arch=('any')
-url="https://www.rncbc.org/jack/"
+url="https://www.rncbc.org/archive/#rtirq"
license=('GPL2')
+groups=('pro-audio')
depends=('bash')
-backup=('etc/conf.d/rtirq')
-source=("https://www.rncbc.org/jack/${pkgname}-${pkgver}.tar.gz")
-sha512sums=('4cb4e3a8e314cec238c2a21c975bec258f229b660e0994893b73aa0b16f6041179ff4e220532fde237d70e15fd5420e22ee5dbf84168148060e760d76617b59c')
+backup=('etc/rtirq.conf')
+source=("https://www.rncbc.org/archive/${pkgname}-${pkgver}.tar.gz")
+sha512sums=('9de924e627b91d6df162b6c8c0c3421fbab11f08162abe98b0fac8742ea924a7e0a18aab23d828e19fe81dfdb70f2f6814c7195acbcbc93af9a339dc549190b2')
prepare() {
cd "${pkgname}-${pkgver}"
- sed -e "s|etc/sysconfig/rtirq|etc/conf.d/rtirq|" \
- -e "s|IRQ\.|irq/|" \
- -i "${pkgname}.sh"
+ # fix executable location in systemd service
sed -e "s|etc/init.d|usr/bin|" -i "${pkgname}.service"
}
@@ -25,9 +24,8 @@
package() {
cd "${pkgname}-${pkgver}"
install -vDm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
- install -vDm644 "${pkgname}.conf" "${pkgdir}/etc/conf.d/${pkgname}"
+ install -vDm644 "${pkgname}.conf" "${pkgdir}/etc/${pkgname}.conf"
install -vDm644 "${pkgname}.service" \
"${pkgdir}/usr/lib/systemd/system/${pkgname}.service"
-
}
More information about the arch-commits
mailing list