summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorsatcom8862020-08-09 12:27:22 +0200
committersatcom8862020-08-09 12:27:22 +0200
commit75dfa4c8b95b3a377729bde064ec0170d1466961 (patch)
tree2483b1da7247a73517fcb4348432a570eca04168
parentd235b1b9904a90df9a808363cbc8f1b38358eaee (diff)
downloadaur-75dfa4c8b95b3a377729bde064ec0170d1466961.tar.gz
Added an install file
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD7
-rwxr-xr-xcontrolloid-server.install8
3 files changed, 16 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index ed39b985c9b..cfea7058488 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,6 +3,7 @@ pkgbase = controlloid-server-git
pkgver = r23.1137a81
pkgrel = 1
url = https://github.com/experiment322/controlloid-server
+ install = controlloid-server.install
arch = x86_64
arch = i686
arch = armv6
@@ -21,11 +22,13 @@ pkgbase = controlloid-server-git
source = controlloid-server.service
source = controlloid.sysusers
source = 77-controlloid-uinput.rules
+ source = controlloid-server.install
md5sums = SKIP
md5sums = 533ff33f7024a3efbf27584e01a86c79
md5sums = 32f432c01af51b24a5382a5a0718dc61
md5sums = 75a9fb6c38015c6da123e7633a216ec5
md5sums = 76b1380215f173064b7c89553394c372
+ md5sums = 68ceff54b22691e3e8ed18dc4c9062e9
pkgname = controlloid-server-git
diff --git a/PKGBUILD b/PKGBUILD
index be00faf5b4a..406fa71633f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,17 +11,20 @@ groups=()
depends=('websocketd' 'iproute2')
makedepends=('make' 'git' 'gcc' 'cmake')
optdepends=()
+install="controlloid-server.install"
provides=('controlloid-server')
source=("controlloid-server::git+https://github.com/experiment322/controlloid-server"
"controlloid-server.sh"
"controlloid-server.service"
"controlloid.sysusers"
- "77-controlloid-uinput.rules")
+ "77-controlloid-uinput.rules"
+ "controlloid-server.install")
md5sums=('SKIP'
'533ff33f7024a3efbf27584e01a86c79'
'32f432c01af51b24a5382a5a0718dc61'
'75a9fb6c38015c6da123e7633a216ec5'
- '76b1380215f173064b7c89553394c372')
+ '76b1380215f173064b7c89553394c372'
+ '68ceff54b22691e3e8ed18dc4c9062e9')
pkgver() {
cd "$srcdir/controlloid-server"
diff --git a/controlloid-server.install b/controlloid-server.install
new file mode 100755
index 00000000000..a786441f8ec
--- /dev/null
+++ b/controlloid-server.install
@@ -0,0 +1,8 @@
+post_install() {
+ echo "Don't forget to add yourself to the 'controlloid' group!"
+}
+
+post_remove() {
+ echo "Removing the 'controlloid' group..."
+ groupdel controlloid
+} \ No newline at end of file