reposilite: Initial import
Signed-off-by: Stefan Knoblich <stkn@bitplumber.de>
This commit is contained in:
39
net-misc/reposilite/reposilite-3.5.9.ebuild
Normal file
39
net-misc/reposilite/reposilite-3.5.9.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
|
||||
EAPI="7"
|
||||
|
||||
#inherit systemd
|
||||
|
||||
DESCRIPTION="Lightweight and easy-to-use repository management software for Maven"
|
||||
HOMEPAGE="https://github.com/dzikoysk/reposilite"
|
||||
SRC_URI="https://maven.reposilite.com/releases/com/${PN}/${PN}/${PV}/${P}-all.jar -> ${P}.jar"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="Apache-2.0"
|
||||
KEYWORDS="amd64"
|
||||
S="${WORKDIR}"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-11
|
||||
acct-group/reposilite
|
||||
acct-user/reposilite
|
||||
"
|
||||
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_install() {
|
||||
insinto "/usr/lib/${PN}"
|
||||
newins "${DISTDIR}/${P}.jar" "${PN}.jar"
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd" ${PN}
|
||||
|
||||
#systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
diropts -m 0750 -o ${PN} -g ${PN}
|
||||
dodir /etc/${PN}
|
||||
keepdir /var/lib/${PN}
|
||||
keepdir /var/log/${PN}
|
||||
|
||||
insinto /etc/${PN}
|
||||
doins "${FILESDIR}/configuration.cdn"
|
||||
}
|
||||
Reference in New Issue
Block a user