28 lines
669 B
Bash
28 lines
669 B
Bash
# Copyright 1999-2024 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=8
|
|
|
|
MY_PN="${PN/-bin/}"
|
|
|
|
DESCRIPTION="My person webserver"
|
|
HOMEPAGE="https://git.engler-labs.root64.de"
|
|
SRC_URI="https://git.engler-labs.root64.de/fabolous005/${MY_PN}/releases/download/${PV}/${MY_PN} -> ${MY_PN}
|
|
https://git.engler-labs.root64.de/fabolous005/${MY_PN}/archive/${PV}.tar.gz -> ${MY_PN}-${PV}.tar.gz"
|
|
S="${WORKDIR}"
|
|
|
|
KEYWORDS="*"
|
|
|
|
LICENSE="MIT"
|
|
SLOT="0"
|
|
|
|
RDEPEND=""
|
|
|
|
src_install() {
|
|
dodir /var/lib/engler-labs
|
|
insinto /var/lib/engler-labs
|
|
doins -r ${WORKDIR}/${MY_PN}/static
|
|
doins ${WORKDIR}/${MY_PN}/Rocket.toml
|
|
dobin ${DISTDIR}/${MY_PN}
|
|
}
|