mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-23 14:03:33 -04:00
Package-Manager: Portage-3.0.8, Repoman-3.0.1 Signed-off-by: Aisha Tammy <gentoo@aisha.cc>
30 lines
629 B
Bash
30 lines
629 B
Bash
# 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"
|
|
|
|
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"
|
|
DEPEND="${RDEPEND}
|
|
www-apps/uwebsockets
|
|
"
|
|
|
|
src_install() {
|
|
emake PREFIX="/usr" DESTDIR="${ED}" install
|
|
einstalldocs
|
|
}
|