chezmoi: update to 2.15.2, cleanup.
remove unnecessary variable, make more reproducible.
This commit is contained in:
parent
f509c377c1
commit
ca1ee6e225
1 changed files with 10 additions and 5 deletions
|
@ -1,20 +1,25 @@
|
|||
# Template file for 'chezmoi'
|
||||
pkgname=chezmoi
|
||||
version=2.15.1
|
||||
version=2.15.2
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/twpayne/chezmoi/v2"
|
||||
go_build_tags="noembeddocs noupgrade"
|
||||
go_ldflags="-X main.version=${version} -X main.commit=v${version}
|
||||
-X main.date=$(date -u +%Y-%m-%dT%H:%M:%SZ) -X main.builtBy=xbps"
|
||||
go_ldflags="-X main.version=${version} -X main.commit=v${version} -X main.builtBy=xbps"
|
||||
short_desc="Manage your dotfiles across multiple machines, securely"
|
||||
maintainer="classabbyamp <void@placeviolette.net>"
|
||||
license="MIT"
|
||||
homepage="https://chezmoi.io/"
|
||||
distfiles="https://github.com/twpayne/chezmoi/archive/v${version}.tar.gz"
|
||||
checksum=0100dcf8b70774595f56859e5d1b635319ba584ad7b280946352be328f36d679
|
||||
checksum=c06c62feeaa95d735191db19fb9f4ef473b7144e01004e789b03d9a3c9c5b4b6
|
||||
|
||||
export CGO_ENABLED=1
|
||||
pre_build() {
|
||||
local _date
|
||||
if [ "$SOURCE_DATE_EPOCH" ]; then
|
||||
_date="$(date --utc --date "@$SOURCE_DATE_EPOCH" "+%Y-%m-%d")"
|
||||
go_ldflags+=" -X main.date=${_date}"
|
||||
fi
|
||||
}
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE
|
||||
|
|
Loading…
Reference in a new issue