diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest index 867e3de4c3..1c50efa1c9 100644 --- a/net-misc/purritobin/Manifest +++ b/net-misc/purritobin/Manifest @@ -1 +1,2 @@ DIST purritobin-0.3.2.tar.gz 13565 BLAKE2B 2e1cd35e33b0330dde96f9b39e916042543025d4834dbf1b6022b939ebf79734ba4262f8229886d4f368e1d85ab7040675374f1035b31870f460da4311fff165 SHA512 fcdb4bcc1869d8b1b9abedecd27a44a147597606893f9af5df64461a0c82db27bdffddf6f15965e1a8356185a6af836c9d86c5ed15841dd81284a6aba4720970 +DIST purritobin-0.3.3.tar.gz 13155 BLAKE2B 1134ab3aecd9910dfdda0d18fc6ac39c4c7332798eb5863edc9dd8306de3b60a0e08d91ed18ada99b4787584b52005e9507cc33681a696c243cc98b847ae8a35 SHA512 d78727920b6b8b92a786003c51d5def143c24763cd7349fdda688bbb90d737bd958bda321b5ae7f5debbea095b9912f88b0b7e7a8501e7f33402941d7656d160 diff --git a/net-misc/purritobin/purritobin-0.3.3.ebuild b/net-misc/purritobin/purritobin-0.3.3.ebuild new file mode 100644 index 0000000000..37179319db --- /dev/null +++ b/net-misc/purritobin/purritobin-0.3.3.ebuild @@ -0,0 +1,36 @@ +# Copyright 2019-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +DESCRIPTION="minimalistic commandline pastebin" +HOMEPAGE="https://bsd.ac" + +inherit 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]" +DEPEND="${RDEPEND} + www-apps/uwebsockets +" + +src_configure() { + default + tc-export CXX +} + +src_install() { + emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install + einstalldocs +} diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild index e620f09af8..37179319db 100644 --- a/net-misc/purritobin/purritobin-9999.ebuild +++ b/net-misc/purritobin/purritobin-9999.ebuild @@ -31,6 +31,6 @@ src_configure() { } src_install() { - emake PREFIX="/usr" DESTDIR="${ED}" install + emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install einstalldocs }