diff options
author | 2021-05-09 08:22:52 -0400 | |
---|---|---|
committer | 2021-05-09 08:22:52 -0400 | |
commit | 84eb327d4d12cafa0a247ec2ae1900b19c25fe2a (patch) | |
tree | 7b9ed41b5b1d20fef404d29f3899f296a47eb8c4 /net-misc/purritobin | |
parent | net-libs/usockets: rename pkgconfig file (diff) | |
download | guru-84eb327d4d12cafa0a247ec2ae1900b19c25fe2a.tar.gz guru-84eb327d4d12cafa0a247ec2ae1900b19c25fe2a.tar.bz2 guru-84eb327d4d12cafa0a247ec2ae1900b19c25fe2a.zip |
net-misc/purritobin: version bump to 0.6.5
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
Diffstat (limited to 'net-misc/purritobin')
-rw-r--r-- | net-misc/purritobin/Manifest | 1 | ||||
-rw-r--r-- | net-misc/purritobin/purritobin-0.6.5.ebuild | 54 | ||||
-rw-r--r-- | net-misc/purritobin/purritobin-9999.ebuild | 16 |
3 files changed, 62 insertions, 9 deletions
diff --git a/net-misc/purritobin/Manifest b/net-misc/purritobin/Manifest index d7d4ba0c7..eca152f3f 100644 --- a/net-misc/purritobin/Manifest +++ b/net-misc/purritobin/Manifest @@ -1 +1,2 @@ DIST purritobin-0.6.2.tar.gz 18849 BLAKE2B e8fa83913d82ccbdc42c9b54f1e0b801203151b5ea89ad94bb2eaaf964cbc594e2cc8fa651dd61d14ee33729fd52fb5475cbc2003edbf766d831f48ca25c1753 SHA512 52d751808070eb46c683115f1981131386114d1a1450ab24c1ac7b341d1c6cbe3319cf55b5a85bf35a0903d1cc4cdb144f6bbe2e5b72bcc358c5f6fccdae5553 +DIST purritobin-0.6.5.tar.gz 19431 BLAKE2B 347c683b8281dc5f4792bf06fa84c5e4be32f4a2d91a80727b2b8f30953f70fb30dec9436913f2ad381401fa545ce77f2bb226fd64a0517116fc5853487d3679 SHA512 2257f0d25eb76887834a223ef3a7bdb10e7fe837092618adee3e2887d75be36f0f964edd774b7029c560ea2bf176f0a4d26210f6de4b99ea58bc62352e282683 diff --git a/net-misc/purritobin/purritobin-0.6.5.ebuild b/net-misc/purritobin/purritobin-0.6.5.ebuild new file mode 100644 index 000000000..2eff4e922 --- /dev/null +++ b/net-misc/purritobin/purritobin-0.6.5.ebuild @@ -0,0 +1,54 @@ +# 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 meson + +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 ~x86" + S="${WORKDIR}/PurritoBin-${PV}" +fi + +LICENSE="ISC" +SLOT="0" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND=" + >=dev-db/lmdb-0.9.29 + net-libs/usockets[ssl] + acct-user/purritobin + acct-group/purritobin +" +DEPEND="${RDEPEND} + www-apps/uwebsockets + >=dev-db/lmdb++-1.0.0 +" +BDEPEND="test? ( sys-apps/coreutils )" + +src_configure() { + local emesonargs=( + $(meson_use test enable_testing) + -Dtest_dd_flags="iflag=fullblock" + ) + meson_src_configure +} + +src_install() { + meson_src_install + insinto /var/www/purritobin + doins frontend/paste.html + keepdir /var/db/purritobin + fowners purritobin:purritobin /var/www/purritobin /var/db/purritobin + newinitd services/openrc purritobin + systemd_newunit services/systemd purritobin.service + einstalldocs +} diff --git a/net-misc/purritobin/purritobin-9999.ebuild b/net-misc/purritobin/purritobin-9999.ebuild index 854dabc82..2eff4e922 100644 --- a/net-misc/purritobin/purritobin-9999.ebuild +++ b/net-misc/purritobin/purritobin-9999.ebuild @@ -6,7 +6,7 @@ EAPI=7 DESCRIPTION="minimalistic commandline pastebin" HOMEPAGE="https://bsd.ac" -inherit systemd toolchain-funcs +inherit systemd meson if [[ ${PV} == 9999 ]]; then inherit git-r3 @@ -35,17 +35,15 @@ DEPEND="${RDEPEND} BDEPEND="test? ( sys-apps/coreutils )" src_configure() { - default - tc-export CXX -} - -src_test() { - P_DD_FLAGS="iflag=fullblock" \ - default + local emesonargs=( + $(meson_use test enable_testing) + -Dtest_dd_flags="iflag=fullblock" + ) + meson_src_configure } src_install() { - emake PREFIX="/usr" MANDIR="/usr/share/man" DESTDIR="${ED}" install + meson_src_install insinto /var/www/purritobin doins frontend/paste.html keepdir /var/db/purritobin |