unitas-mail/app-backup/benno-lib/benno-lib-2.10.0.ebuild
2025-03-27 08:18:30 +01:00

32 lines
605 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Benno Mailarchive Lib"
HOMEPAGE="https://www.benno-mailarchiv.de/"
SRC_URI="https://www.benno-mailarchiv.de/download/tgz/${P}.tgz"
S=${WORKDIR}/opt/benno
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="mirror binchecks"
BDEPEND="
acct-group/benno
acct-user/benno
"
RDEPEND="
${BDEPEND}
dev-java/openjdk-jre-bin
"
INSTALL_DIR=/opt/benno
src_install() {
dodir "${INSTALL_DIR}"
cp -a "${S}"/lib "${ED}${INSTALL_DIR}" || die
fowners -R benno:benno "${INSTALL_DIR}"
}