commit: 503afd5186e5ead2186f388d0e9f5538d341918d Author: Aisha Tammy <gentoo <AT> aisha <DOT> cc> AuthorDate: Sun Feb 7 17:39:52 2021 +0000 Commit: Andrew Ammerlaan <andrewammerlaan <AT> riseup <DOT> net> CommitDate: Sun Feb 7 17:40:36 2021 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=503afd51
net-misc/purritobin: version bump to 0.4.1 Signed-off-by: Aisha Tammy <gentoo <AT> aisha.cc> net-misc/purritobin/Manifest | 1 + net-misc/purritobin/purritobin-0.4.1.ebuild | 51 +++++++++++++++++++++++++++++ 2 files changed, 52 insertions(+) diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest index f604b984..3636af0a 100644 --- a/net-misc/purritobin/Manifest +++ b/net-misc/purritobin/Manifest @@ -1 +1,2 @@ DIST purritobin-0.4.0.tar.gz 13895 BLAKE2B 4827e31bc731400c7ffd83ca12f82bd8f9e4c959f059a2b692435d91ecf717cbafb6b66cd7653c98f05ce2b8959f5a039986243ea87ea2fe194fc01bee81c349 SHA512 006b4c2d741c25dc5766d0d7dafcb910f35799721fab7bf59930be8550ac896dfe6f2ae783fe7b28c8d2e786d886777bbff9ee4a33877a8e044e9b1ffbebaeba +DIST purritobin-0.4.1.tar.gz 14363 BLAKE2B 96bcfe76556f430db52ea99bb991acd66c92926faf3c3259b56db16c0195b1a5c70e311e51054a7c1d7d78d687de2e162c214933f9ba6f16dbf3189536e98f06 SHA512 83b448e9599ab87d324d8ff988f339cafe38f8681c92ab986cea0042862db8fe8ce51d979edffedd0a819baa4d25ebffa26fa5362e5e96ab76b8a982a8cb0877 diff --git a/net-misc/purritobin/purritobin-0.4.1.ebuild b/net-misc/purritobin/purritobin-0.4.1.ebuild new file mode 100644 index 00000000..3866d837 --- /dev/null +++ b/net-misc/purritobin/purritobin-0.4.1.ebuild @@ -0,0 +1,51 @@ +# 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_test() { + emake check +} + +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 +}
