Add www-apps/aya
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
39
www-apps/aya/aya-101.ebuild
Normal file
39
www-apps/aya/aya-101.ebuild
Normal file
@@ -0,0 +1,39 @@
|
||||
# Copyright 2026 Shin'ya Minazuki
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit go-module
|
||||
|
||||
DESCRIPTION="The fastest static site generator"
|
||||
HOMEPAGE="https://projects.laidback.moe/aya"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://git.laidback.moe/shinyoukai/aya"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="
|
||||
https://mirror.chaotic.ninja/software/aya-${PV}.tar.gz
|
||||
https://mirror.chaotic.ninja/software/aya-vendor.tar.gz
|
||||
"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
# Other architectures have not been tested
|
||||
# This project is mainly developed on x86(-64)
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
IUSE="lite"
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
if use lite; then
|
||||
emake build-lite
|
||||
else
|
||||
emake build
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}" PREFIX="${EPREFIX}/usr" MANDIR="${EPREFIX}/usr/share/man"
|
||||
}
|
||||
Reference in New Issue
Block a user