commit:     f98a8c0132bfa3c17fa6e9d461c622250543f82c
Author:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
AuthorDate: Wed Jan 13 18:58:09 2021 +0000
Commit:     Aisha Tammy <gentoo <AT> aisha <DOT> cc>
CommitDate: Wed Jan 13 18:59:00 2021 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=f98a8c01

net-misc/purritobin: version bump to 0.4.0

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

 net-misc/purritobin/Manifest                |  1 +
 net-misc/purritobin/purritobin-0.4.0.ebuild | 45 +++++++++++++++++++++++++++++
 2 files changed, 46 insertions(+)

diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest
index 3171cffd..952657ce 100644
--- a/net-misc/purritobin/Manifest
+++ b/net-misc/purritobin/Manifest
@@ -1 +1,2 @@
 DIST purritobin-0.3.3.tar.gz 13155 BLAKE2B 
1134ab3aecd9910dfdda0d18fc6ac39c4c7332798eb5863edc9dd8306de3b60a0e08d91ed18ada99b4787584b52005e9507cc33681a696c243cc98b847ae8a35
 SHA512 
d78727920b6b8b92a786003c51d5def143c24763cd7349fdda688bbb90d737bd958bda321b5ae7f5debbea095b9912f88b0b7e7a8501e7f33402941d7656d160
+DIST purritobin-0.4.0.tar.gz 13895 BLAKE2B 
4827e31bc731400c7ffd83ca12f82bd8f9e4c959f059a2b692435d91ecf717cbafb6b66cd7653c98f05ce2b8959f5a039986243ea87ea2fe194fc01bee81c349
 SHA512 
006b4c2d741c25dc5766d0d7dafcb910f35799721fab7bf59930be8550ac896dfe6f2ae783fe7b28c8d2e786d886777bbff9ee4a33877a8e044e9b1ffbebaeba

diff --git a/net-misc/purritobin/purritobin-0.4.0.ebuild 
b/net-misc/purritobin/purritobin-0.4.0.ebuild
new file mode 100644
index 00000000..fd9c6136
--- /dev/null
+++ b/net-misc/purritobin/purritobin-0.4.0.ebuild
@@ -0,0 +1,45 @@
+# 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"
+
+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 "${FILESDIR}"/purritobin.initd purritobin
+       systemd_dounit "${FILESDIR}"/purritobin.service
+       einstalldocs
+}

Reply via email to