2020-05-21 14:31:38 +02:00
|
|
|
# Copyright 2020 Gentoo Authors
|
|
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
|
|
|
|
EAPI=7
|
|
|
|
|
|
|
|
DESCRIPTION="Web GUI for AS-Stats"
|
|
|
|
HOMEPAGE="https://github.com/nidebr/as-stats-gui"
|
|
|
|
MY_GITHUB_AUTHOR="nidebr"
|
|
|
|
SRC_URI="https://github.com/${MY_GITHUB_AUTHOR}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
|
|
|
|
|
|
LICENSE="Apache-2.0"
|
|
|
|
SLOT="0"
|
|
|
|
KEYWORDS="~amd64 ~x86"
|
|
|
|
IUSE=""
|
|
|
|
|
2020-05-21 19:06:53 +02:00
|
|
|
DEPEND="
|
2020-05-21 19:15:27 +02:00
|
|
|
acct-group/as-stats
|
|
|
|
acct-user/as-stats
|
2020-05-21 19:06:53 +02:00
|
|
|
"
|
2020-05-21 14:31:38 +02:00
|
|
|
RDEPEND="${DEPEND}"
|
|
|
|
BDEPEND=""
|
|
|
|
|
|
|
|
src_install() {
|
|
|
|
default
|
|
|
|
|
|
|
|
rm LICENSE
|
|
|
|
rm README.md
|
|
|
|
|
|
|
|
insinto "/usr/share/${PN}"
|
|
|
|
doins -r "${S}"/*
|
2020-05-21 19:15:27 +02:00
|
|
|
fowners -R "as-stats" "/usr/share/${PN}"
|
2020-05-21 14:31:38 +02:00
|
|
|
}
|