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

34 lines
677 B
Bash

# Copyright 1999-2024 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
DESCRIPTION="Benno Mailarchive Core"
HOMEPAGE="https://www.benno-mailarchiv.de/"
SRC_URI="https://www.benno-mailarchiv.de/download/tgz/${P}.tgz"
S=${WORKDIR}
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="amd64"
RESTRICT="mirror binchecks"
BDEPEND="
app-backup/benno-lib
"
RDEPEND="
${BDEPEND}
"
INSTALL_DIR=/opt/benno
src_install() {
dodir "${INSTALL_DIR}"
cp -a "${S}"/${INSTALL_DIR}/lib "${ED}${INSTALL_DIR}" || die
fowners -R benno:benno "${INSTALL_DIR}"
insinto /etc/benno
doins etc/benno/benno.xml
fowners -R root:benno /etc/benno
fperms 0750 /etc/benno
}