commit:     c24233afd8db2429c0415ecdb7acefceffd5e94a
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Mon Apr  3 16:06:00 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Apr 10 02:51:53 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c24233af

net-irc/soju: build the sojudb tool

Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/soju/soju-0.6.0.ebuild | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/net-irc/soju/soju-0.6.0.ebuild b/net-irc/soju/soju-0.6.0.ebuild
index 9e41371c3733..f726d1503050 100644
--- a/net-irc/soju/soju-0.6.0.ebuild
+++ b/net-irc/soju/soju-0.6.0.ebuild
@@ -29,6 +29,7 @@ src_compile() {
        GOFLAGS+=" -tags=$(usex sqlite libsqlite3 nosqlite)"
 
        ego build ${GOFLAGS} ./cmd/soju
+       ego build ${GOFLAGS} ./cmd/sojudb
        ego build ${GOFLAGS} ./cmd/sojuctl
 
        scdoc <doc/soju.1.scd >doc/soju.1 || die
@@ -36,6 +37,7 @@ src_compile() {
 
 src_install() {
        dobin soju
+       dobin sojudb
        dobin sojuctl
 
        doman doc/soju.1
@@ -50,5 +52,5 @@ src_install() {
 pkg_postinst() {
        elog "${PN} requires a user database for authenticating clients."
        elog "As the soju user, create a database using:"
-       elog "$ sojuctl -config ${EROOT}/etc/soju/config create-user <username> 
[-admin]"
+       elog "$ sojudb -config ${EROOT}/etc/soju/config create-user <username> 
[-admin]"
 }

Reply via email to