Date: Monday, April 4, 2022 @ 07:20:03 Author: daurnimator Revision: 1181204
archrelease: copy trunk to community-x86_64 Added: chezmoi/repos/community-x86_64/PKGBUILD (from rev 1181203, chezmoi/trunk/PKGBUILD) Deleted: chezmoi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 124 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 62 insertions(+), 62 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-04-04 07:19:48 UTC (rev 1181203) +++ PKGBUILD 2022-04-04 07:20:03 UTC (rev 1181204) @@ -1,62 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Maintainer: Caleb Maclennan <ca...@alerque.com> -# Contributor: Tom Payne <twpa...@gmail.com> -# Contributor: <godea...@gmail.com> - -pkgname=chezmoi -pkgver=2.14.0 -pkgrel=1 -pkgdesc="Manage your dotfiles across multiple machines" -arch=('x86_64') -url='https://www.chezmoi.io/' -license=('MIT') -makedepends=('go' 'git') -depends=('glibc') -checkdepends=('zip') -options=('!lto') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz") -sha512sums=('b9db25b36213ef7d72a87e47582e5207daeaa5cab334e62024ba82f6545e5c8759e04e30d2db9d295e0a48977297252fb57cba24c4c003fbc2a5c30dcf5ff968') - -prepare() { - cd "$pkgname-$pkgver" - - go mod download -} - -build() { - cd "$pkgname-$pkgver" - - export CGO_LDFLAGS="${LDFLAGS}" - export CGO_CFLAGS="${CFLAGS}" - export CGO_CPPFLAGS="${CPPFLAGS}" - export CGO_CXXFLAGS="${CXXFLAGS}" - export GOPROXY=off - go build \ - -trimpath \ - -buildmode=pie \ - -mod=readonly \ - -tags noupgrade \ - -ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \ - -X main.version=$pkgver \ - -X main.date=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \ - -extldflags ${LDFLAGS}" \ - . -} - -check() { - cd "$pkgname-$pkgver" - - go test -v ./... -} - -package() { - cd "$pkgname-$pkgver" - - install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" - - install -Dm644 completions/chezmoi-completion.bash "$pkgdir/usr/share/bash-completion/completions/chezmoi" - install -Dm644 completions/chezmoi.fish "$pkgdir/usr/share/fish/vendor_completions.d/chezmoi.fish" - install -Dm644 completions/chezmoi.zsh "$pkgdir/usr/share/zsh/site-functions/_chezmoi" - - install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} Copied: chezmoi/repos/community-x86_64/PKGBUILD (from rev 1181203, chezmoi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-04-04 07:20:03 UTC (rev 1181204) @@ -0,0 +1,62 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Maintainer: Caleb Maclennan <ca...@alerque.com> +# Contributor: Tom Payne <twpa...@gmail.com> +# Contributor: <godea...@gmail.com> + +pkgname=chezmoi +pkgver=2.15.0 +pkgrel=1 +pkgdesc="Manage your dotfiles across multiple machines" +arch=('x86_64') +url='https://www.chezmoi.io/' +license=('MIT') +makedepends=('go' 'git') +depends=('glibc') +checkdepends=('zip') +options=('!lto') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz") +sha512sums=('b2e4623e3024a039e2f556c7e132078f1165c1ed8269acbafa508806dedd517820affa3e49225fae7bf5f6d7df657c96ce3b025953671a0010841fc1b9f9e00b') + +prepare() { + cd "$pkgname-$pkgver" + + go mod download +} + +build() { + cd "$pkgname-$pkgver" + + export CGO_LDFLAGS="${LDFLAGS}" + export CGO_CFLAGS="${CFLAGS}" + export CGO_CPPFLAGS="${CPPFLAGS}" + export CGO_CXXFLAGS="${CXXFLAGS}" + export GOPROXY=off + go build \ + -trimpath \ + -buildmode=pie \ + -mod=readonly \ + -tags noupgrade \ + -ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \ + -X main.version=$pkgver \ + -X main.date=$(date -u +'%Y-%m-%dT%H:%M:%SZ' --date=@${SOURCE_DATE_EPOCH}) \ + -extldflags ${LDFLAGS}" \ + . +} + +check() { + cd "$pkgname-$pkgver" + + go test -v ./... +} + +package() { + cd "$pkgname-$pkgver" + + install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" + + install -Dm644 completions/chezmoi-completion.bash "$pkgdir/usr/share/bash-completion/completions/chezmoi" + install -Dm644 completions/chezmoi.fish "$pkgdir/usr/share/fish/vendor_completions.d/chezmoi.fish" + install -Dm644 completions/chezmoi.zsh "$pkgdir/usr/share/zsh/site-functions/_chezmoi" + + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +}