commit:     611d65db810d58f7a54bb5757c04ac8dce6912ba
Author:     Alfred Persson Forsberg <cat <AT> catcream <DOT> org>
AuthorDate: Mon May  8 14:16:53 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 23 02:29:23 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=611d65db

net-irc/senpai: new package, add 0.2.0

Signed-off-by: Alfred Persson Forsberg <cat <AT> catcream.org>
Closes: https://github.com/gentoo/gentoo/pull/30933
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-irc/senpai/Manifest            |  2 ++
 net-irc/senpai/metadata.xml        | 15 +++++++++++++++
 net-irc/senpai/senpai-0.2.0.ebuild | 35 +++++++++++++++++++++++++++++++++++
 3 files changed, 52 insertions(+)

diff --git a/net-irc/senpai/Manifest b/net-irc/senpai/Manifest
new file mode 100644
index 000000000000..b957ebb4d30f
--- /dev/null
+++ b/net-irc/senpai/Manifest
@@ -0,0 +1,2 @@
+DIST senpai-0.2.0-deps.tar.xz 28187856 BLAKE2B 
8c5065c8ea996d3136fca04ed5964d8a690039018cd0f15b0ed4977d2b22c397695ff355070570ff6cffa1b65c283b9cdf0f9b6408921b8f81ee0c200a7f6663
 SHA512 
06dd81b78b87336963b0a9b412404a5b5e0c429758d52ccd23ccf467bf5c96edfe151ee5e883d14dd0b835dcd1bbd3955d8dc97a7004e0d14e9d265a42ee2aee
+DIST senpai-0.2.0.tar.gz 60909 BLAKE2B 
6250dee33b6aa8a1b4eb109b3e1469ff7f78d2e530a06ad8ee77ef30f38b0907a8425a6408800cef15704955ec8bff29ebfcbd6a5f23470e92c3c89a24ab4182
 SHA512 
ab0a58396058d0b3691c4168755069e4c5b45266531d2d032cd6be95133a60a9ea8ceb274d6920459daacd63788b2232c66113aea7986ac01dc59132994c02a8

diff --git a/net-irc/senpai/metadata.xml b/net-irc/senpai/metadata.xml
new file mode 100644
index 000000000000..7063eaa16d1c
--- /dev/null
+++ b/net-irc/senpai/metadata.xml
@@ -0,0 +1,15 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM 'https://www.gentoo.org/dtd/metadata.dtd'>
+<pkgmetadata>
+    <maintainer type="person" proxied="yes">
+      <email>c...@catcream.org</email>
+      <name>Alfred Persson</name>
+    </maintainer>
+    <maintainer type="project" proxied="proxy">
+      <email>proxy-ma...@gentoo.org</email>
+      <name>Proxy Maintainers</name>
+    </maintainer>
+    <upstream>
+      <remote-id type="sourcehut">~taiite/senpai</remote-id>
+    </upstream>
+</pkgmetadata>

diff --git a/net-irc/senpai/senpai-0.2.0.ebuild 
b/net-irc/senpai/senpai-0.2.0.ebuild
new file mode 100644
index 000000000000..025d331d0cbc
--- /dev/null
+++ b/net-irc/senpai/senpai-0.2.0.ebuild
@@ -0,0 +1,35 @@
+# Copyright 2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit go-module
+
+DESCRIPTION="A modern terminal IRC client. NOTICE me :senpai!"
+HOMEPAGE="https://sr.ht/~taiite/senpai";
+SRC_URI="https://git.sr.ht/~taiite/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+SRC_URI+=" https://github.com/alfredfo/${PN}-deps/raw/master/${P}-deps.tar.xz";
+
+LICENSE="Apache-2.0 BSD BSD-2 ISC MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+S="${WORKDIR}/${PN}-v${PV}"
+
+BDEPEND="
+       app-text/scdoc
+"
+
+src_compile() {
+       ego build ${GOFLAGS} ./cmd/senpai
+
+       scdoc <doc/senpai.1.scd >doc/senpai.1 || die
+       scdoc <doc/senpai.5.scd >doc/senpai.5 || die
+}
+
+src_install() {
+       dobin senpai
+
+       doman doc/senpai.{1,5}
+       einstalldocs
+}

Reply via email to