Add www-apps/aya
Signed-off-by: Shin'ya Minazuki <shinyoukai@laidback.moe>
This commit is contained in:
2
www-apps/aya/Manifest
Normal file
2
www-apps/aya/Manifest
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
DIST aya-101.tar.gz 12481 BLAKE2B 8b4aca6a27aceb5e03e2b8209bb859d325883e850537b2f8c27b262ba2765c5ed8ad1fb674e3c2cea36c8720e8988a00985235cf217cfb615da14da92ae45405 SHA512 10b8f85f64defa06acd4f993e33fa993f764b55294ee06085a4dcf94e611422c0c9e54300fe03dbb24790e5a347ab0dace11684846ad56df64381d26bbc2eff9
|
||||||
|
DIST aya-vendor.tar.gz 280584 BLAKE2B d9db4ca76229bc52027074158575a03c419b7d861f6bb165b66756a0816b0704f6306191e3aee11d83c677a48a00f62c8df7a2e4319c39a8a07eb4e25b164ff6 SHA512 36c1f292c53d012f532efa9e5fe3dedd4d5649c940061f33e2907434f157cf3028f7caf7d41ed59ba36ca30ba4abe64b752095c49328c8b0d6e23a34208db39f
|
||||||
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"
|
||||||
|
}
|
||||||
15
www-apps/aya/metadata.xml
Normal file
15
www-apps/aya/metadata.xml
Normal file
@@ -0,0 +1,15 @@
|
|||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||||
|
<pkgmetadata>
|
||||||
|
<maintainer type="person">
|
||||||
|
<email>shinyoukai@laidback.moe</email>
|
||||||
|
<name>Shin'ya Minazuki</name>
|
||||||
|
</maintainer>
|
||||||
|
<use>
|
||||||
|
<flag name="lite">Build a smaller version with only Markdown and HTML support</flag>
|
||||||
|
</use>
|
||||||
|
<longdescription lang="en">
|
||||||
|
Aya is the fastest static site generator, written in Go, with only a few
|
||||||
|
external dependencies.
|
||||||
|
</longdescription>
|
||||||
|
</pkgmetadata>
|
||||||
Reference in New Issue
Block a user