mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
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@aisha.cc>
This commit is contained in:
@@ -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
|
||||
|
||||
45
net-misc/purritobin/purritobin-0.4.0.ebuild
Normal file
45
net-misc/purritobin/purritobin-0.4.0.ebuild
Normal file
@@ -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
|
||||
}
|
||||
Reference in New Issue
Block a user