summaryrefslogtreecommitdiff
path: root/pcr/rtirq/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-22 05:05:57 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-03-22 05:05:57 -0300
commit702559018be7e74df3053c9232a04e0e85e7b427 (patch)
tree8e6bdc076c000b0ed109dfe1c1925a30adf2d9f7 /pcr/rtirq/PKGBUILD
parent42e4d800a8eb2bcf22251468f06391863b785630 (diff)
downloadabslibre-702559018be7e74df3053c9232a04e0e85e7b427.tar.gz
abslibre-702559018be7e74df3053c9232a04e0e85e7b427.tar.bz2
abslibre-702559018be7e74df3053c9232a04e0e85e7b427.zip
rtirq: add new package to [pcr]
Diffstat (limited to 'pcr/rtirq/PKGBUILD')
-rw-r--r--pcr/rtirq/PKGBUILD25
1 files changed, 25 insertions, 0 deletions
diff --git a/pcr/rtirq/PKGBUILD b/pcr/rtirq/PKGBUILD
new file mode 100644
index 000000000..66f2710f6
--- /dev/null
+++ b/pcr/rtirq/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer (Arch): Corey Mwamba <contact.me@coreymwamba.co.uk>
+pkgname=rtirq
+pkgver=20150216
+pkgrel=1
+pkgdesc="Realtime IRQ thread system tuning."
+arch=('any')
+url="http://www.rncbc.org/jack/"
+license=('GPL')
+groups=('multimedia')
+depends=('bash')
+backup=('etc/conf.d/rtirq' 'usr/lib/systemd/system/rtirq.service')
+install=rtirq.install
+source=(http://www.rncbc.org/jack/$pkgname-$pkgver.tar.gz)
+md5sums=('59e8b012c16b1e879ce8648f537400c5')
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+sed -e "s|etc/sysconfig/rtirq|etc/conf.d/rtirq|" -i rtirq.sh
+sed -e "s|IRQ\.|irq/|" -i rtirq.sh
+sed -e "s|etc/init.d|usr/bin|" -i rtirq.service
+install -vD rtirq.sh -m 0755 $pkgdir/usr/bin/rtirq
+install -vD rtirq.conf -m 0644 $pkgdir/etc/conf.d/rtirq
+install -vD rtirq.service -m 0644 $pkgdir/usr/lib/systemd/system/rtirq.service
+}
+