commit:     b16b02c0bf045ba650815b7050ba025536b9c759
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Sun Apr 11 12:49:40 2021 +0000
Commit:     Theo Anderson <telans <AT> posteo <DOT> de>
CommitDate: Sun Apr 11 12:50:11 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=b16b02c0

net-misc/purritobin: version bump to 0.5.2

Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc>

 net-misc/purritobin/Manifest                |  1 +
 net-misc/purritobin/purritobin-0.5.2.ebuild | 47 +++++++++++++++++++++++++++++
 2 files changed, 48 insertions(+)

diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest
index a9fe9c5f6..1a39fae0d 100644
--- a/net-misc/purritobin/Manifest
+++ b/net-misc/purritobin/Manifest
@@ -1 +1,2 @@
 DIST purritobin-0.5.1.tar.gz 18273 BLAKE2B 
8040e8f6e4d0cf6bfa9d915365420be40900f685fcce8ddf28236a1874f3b317ca3dae0e59fd54650ceeffd21513a9ed3c272f637b7c5b9f7a9ee12b6e3c2e07
 SHA512 
80e6e88d1081d30e8cfb34608e9e6c6d78ff67960954e73ffcb8844d3e654c91b6e701b2f2e082869196a3bf5e132b6111bd40c7261082034f9e38f36b6536ff
+DIST purritobin-0.5.2.tar.gz 18272 BLAKE2B 
f5f93a5c6bb189e232cd6eaa05c1c914fa48d5b767697064e238ed1fc83224b6457e452b459c5d62dd17c12454cee43b08ed916589237aca5ab6d04968e653bd
 SHA512 
13bb3c2a1382ae1a45922a997852db573517dd7a8ff6145b349ab62632fa6bdcd2441c6559baf375286c615a72e7bdf065de3fbcb164aee2a8408f17deade629

diff --git a/net-misc/purritobin/purritobin-0.5.2.ebuild 
b/net-misc/purritobin/purritobin-0.5.2.ebuild
new file mode 100644
index 000000000..cbfc6e352
--- /dev/null
+++ b/net-misc/purritobin/purritobin-0.5.2.ebuild
@@ -0,0 +1,47 @@
+# Copyright 2019-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+DESCRIPTION="minimalistic commandline pastebin"
+HOMEPAGE="https://bsd.ac";
+
+inherit systemd toolchain-funcs
+
+if [[ ${PV} == 9999 ]]; then
+       inherit git-r3
+       EGIT_REPO_URI="https://github.com/PurritoBin/PurritoBin.git";
+else
+       SRC_URI="https://github.com/PurritoBin/PurritoBin/archive/${PV}.tar.gz 
-> ${P}.tar.gz"
+       KEYWORDS="~amd64 ~arm64 ~x86"
+       S="${WORKDIR}/PurritoBin-${PV}"
+fi
+
+LICENSE="ISC"
+SLOT="0"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+RDEPEND="
+       net-libs/usockets[ssl]
+       acct-user/purritobin
+       acct-group/purritobin
+"
+DEPEND="${RDEPEND}
+       www-apps/uwebsockets
+"
+
+src_configure() {
+       default
+       tc-export CXX
+}
+
+src_install() {
+       emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install
+       insinto /var/www/purritobin
+       doins frontend/paste.html
+       fowners purritobin:purritobin /var/www/purritobin
+       newinitd services/openrc purritobin
+       systemd_newunit services/systemd purritobin.service
+       einstalldocs
+}

Reply via email to