summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorFlorian Lindner2016-01-05 13:02:41 +0100
committerFlorian Lindner2016-01-05 13:02:41 +0100
commit5e83dc64abc1453c6b4853a8de4b095fd1d023a1 (patch)
treeb93fba894c9b82561ee5927d5a6a07c081d76eda
parent9428dd3aef3cc34663779670d7b6fd274ba2eaf3 (diff)
downloadaur-5e83dc64abc1453c6b4853a8de4b095fd1d023a1.tar.gz
New maintainer and systemd files.
Changed Maintainer and Contributer Added systemd service and socket file for usage with with systemd --user
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD16
-rw-r--r--rdm.service9
-rw-r--r--rdm.socket8
4 files changed, 34 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c6853179235..44b2a2d58c8 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,3 +1,5 @@
+# Generated by mksrcinfo v8
+# Tue Jan 5 11:52:49 UTC 2016
pkgbase = rtags-git
pkgdesc = RTags is a client/server application that indexes C/C++ code.
pkgver = v2.0.r699.g737b04e
@@ -17,7 +19,11 @@ pkgbase = rtags-git
provides = rtags
conflicts = rtags
source = git+https://github.com/Andersbakken/rtags.git
+ source = rdm.service
+ source = rdm.socket
sha256sums = SKIP
+ sha256sums = 69e04a0b57f329b251fac89710e41448e28b0719c93267fe03c5b98a6d37b172
+ sha256sums = 25d1842a4187a1933ff27833201cfd0879da71a50241860e32edecfc7e75f14f
pkgname = rtags-git
diff --git a/PKGBUILD b/PKGBUILD
index b1afc9ce878..861569814a0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Josip Ponjavic <josipponjavic at gmail dot com>
-# Contributor:
+# Maintainer: Florian Lindner <florian.lindner@xgm.de>
+# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>
pkgname=rtags-git
-pkgver=v2.0.r699.g737b04e
+pkgver=v2.0.r990.gccccd8a
pkgrel=1
pkgdesc="RTags is a client/server application that indexes C/C++ code."
arch=('i686' 'x86_64')
@@ -13,8 +13,12 @@ makedepends=('cmake' 'git' 'llvm' 'zlib')
optdepends=('bash-completion: for bash completion' 'zlib')
provides=('rtags')
conflicts=('rtags')
-source=("git+${url}.git")
-sha256sums=('SKIP')
+source=("git+${url}.git"
+ rdm.service
+ rdm.socket)
+sha256sums=('SKIP'
+ '69e04a0b57f329b251fac89710e41448e28b0719c93267fe03c5b98a6d37b172'
+ '25d1842a4187a1933ff27833201cfd0879da71a50241860e32edecfc7e75f14f')
pkgver() {
cd rtags
@@ -38,4 +42,6 @@ build() {
package() {
cd rtags
make DESTDIR="${pkgdir}/" install
+ install -D --mode=644 ${srcdir}/rdm.service ${pkgdir}/usr/lib/systemd/user/rdm.service
+ install -D --mode=644 ${srcdir}/rdm.socket ${pkgdir}/usr/lib/systemd/user/rdm.socket
}
diff --git a/rdm.service b/rdm.service
new file mode 100644
index 00000000000..aca0a7b3942
--- /dev/null
+++ b/rdm.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=RTags Server
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/rdm
+
+[Install]
+WantedBy=default.target
diff --git a/rdm.socket b/rdm.socket
new file mode 100644
index 00000000000..82c60cc4776
--- /dev/null
+++ b/rdm.socket
@@ -0,0 +1,8 @@
+[Unit]
+Description=RTags Server
+
+[Socket]
+ListenStream=%h/.rdm
+
+[Install]
+WantedBy=default.target