summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'acct-user/gridcoin/gridcoin-0.ebuild')
-rw-r--r--acct-user/gridcoin/gridcoin-0.ebuild23
1 files changed, 23 insertions, 0 deletions
diff --git a/acct-user/gridcoin/gridcoin-0.ebuild b/acct-user/gridcoin/gridcoin-0.ebuild
new file mode 100644
index 0000000..3e63172
--- /dev/null
+++ b/acct-user/gridcoin/gridcoin-0.ebuild
@@ -0,0 +1,23 @@
+# Copyright 2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit acct-user
+
+ACCT_USER_ID=-1
+ACCT_USER_GROUPS=( gridcoin )
+
+DESCRIPTION="user for gridcoin daemon"
+IUSE="boinc"
+KEYWORDS="~amd64 ~x86"
+
+RDEPEND="
+ boinc? ( acct-user/boinc )
+"
+
+acct-user_add_deps
+
+pkg_setup() {
+ use boinc && ACCT_USER_GROUPS+=( boinc )
+}