stencil: 2.0.1
This commit is contained in:
parent
c26f1b4843
commit
1c6f5410f7
2 changed files with 33 additions and 0 deletions
2
dev-util/stencil/Manifest
Normal file
2
dev-util/stencil/Manifest
Normal file
|
@ -0,0 +1,2 @@
|
|||
DIST stencil-2.0.1-deps.tar.xz 323386492 BLAKE2B cd6d2362ea90da1be247db72e1c1b66593bc01820635b6e0dcde71efa8da5462a1561abcb7eaf9a8fa1bc0704414f83b1c41c261fb79a609f1db1cd6a7b2d81d SHA512 492ff2e4eaa38187f7afd4e447f8ab6de3ef46974bb449b4baa5333a21096213ad544eadc24d04f462fb29f614cc37fe707b8ad90f9dab310d59ed3aa07fd371
|
||||
DIST stencil-2.0.1.tar.gz 317225 BLAKE2B b8b4e27d3122f8a85cac3ee912095d2182541f1ff2c6545dd994e7f3ab8f02b2161e749449b7159ba81b405394c0ecc6b56d7b5c8132b25ac0f740d8451e9aaf SHA512 7acc84d89c7baef0ca1bc21d93a5139b733cf5795df2461461eccb5d6a162de4ba810f45888ac3007ac8417795b961280cd829ea35596a9f8b19d794a1cbf15c
|
31
dev-util/stencil/stencil-2.0.1.ebuild
Normal file
31
dev-util/stencil/stencil-2.0.1.ebuild
Normal file
|
@ -0,0 +1,31 @@
|
|||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
inherit go-module shell-completion
|
||||
|
||||
VERSION_GIT_HASH="ccc083c7ff1a54623e99c59e9bcab1008c189d6f"
|
||||
|
||||
DESCRIPTION="Modern living-template engine for evolving repositories "
|
||||
HOMEPAGE="https://stencil.rgst.io/"
|
||||
SRC_URI="https://github.com/rgst-io/stencil/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI+=" https://gentoo.rgst.io/updater_artifacts/${CATEGORY}/${PN}/${PV}/deps.tar.xz -> ${P}-deps.tar.xz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm arm64 ~riscv ~x86"
|
||||
|
||||
BDEPEND=">=dev-lang/go-1.23"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
src_compile() {
|
||||
ego build \
|
||||
-ldflags \
|
||||
"-s -w -X go.rgst.io/stencil/v2/internal/version.version=${PV} -X go.rgst.io/stencil/v2/internal/version.commit=${VERSION_GIT_HASH} -X go.rgst.io/stencil/v2/internal/version.date=$(date "+%Y-%m-%dT%H:%M:%SZ") -X go.rgst.io/stencil/v2/internal/version.builtBy=ebuild" \
|
||||
./cmd/stencil
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin stencil
|
||||
}
|
Loading…
Add table
Reference in a new issue