blob: 905ba13f3c16f791a0f9299acb650d228febb78d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# Copyright 2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
inherit go-module
DESCRIPTION="Command-line application for publishing sites to git-pages"
HOMEPAGE="https://codeberg.org/git-pages/git-pages-cli"
SRC_URI="https://codeberg.org/git-pages/git-pages-cli/archive/v${PV}.tar.gz -> ${P}.tar.gz
https://files.demize.dev/gentoo/${CATEGORY}/${PN}/${P}-vendor.tar.xz"
S="${WORKDIR}/${PN}"
LICENSE="0BSD"
# dependencies
LICENSE+=" Apache-2.0 BSD MIT "
SLOT="0"
KEYWORDS="~amd64"
# project specifies a minimum Go version of 1.25
BDEPEND+=">=dev-lang/go-1.25.0:="
DOCS=( README.md )
src_compile() {
ego build
}
src_install() {
dobin git-pages-cli
einstalldocs
}
|