1
0
mirror of synced 2024-12-23 05:10:24 +01:00
TheChymera-overlay/app-misc/ppb/ppb-0.2.0.ebuild

32 lines
660 B
Bash
Raw Normal View History

# Copyright 1999-2022 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="The Personal Pastebin"
HOMEPAGE="https://github.com/TheChymera/ppb"
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://github.com/TheChymera/PPB.git"
inherit git-r3
else
SRC_URI="https://github.com/TheChymera/PPB/archive/${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~x86"
S="${WORKDIR}/PPB-${PV}"
fi
LICENSE="GPL-2"
SLOT="0"
DEPEND="app-text/ansifilter"
RDEPEND=""
# Only functionality relies on target server.
RESTRICT="test"
src_install() {
dobin "bin/ppb"
dobin "bin/rppb"
insinto "/etc/"
doins config/ppb.conf
}