Date: Wednesday, February 2, 2022 @ 13:22:00 Author: daurnimator Revision: 1122502
archrelease: copy trunk to community-x86_64 Added: chezmoi/repos/community-x86_64/PKGBUILD (from rev 1122501, chezmoi/trunk/PKGBUILD) Deleted: chezmoi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 122 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 61 insertions(+), 61 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-02-02 13:21:42 UTC (rev 1122501) +++ PKGBUILD 2022-02-02 13:22:00 UTC (rev 1122502) @@ -1,61 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Tom Payne <twpa...@gmail.com> -# Contributor: <godea...@gmail.com> - -pkgname=chezmoi -pkgver=2.10.1 -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=('5fdcad7e516a5ab56ad819008703ae166703e2e9a4cc1cfcd4400a1fb0b15343a9db5a5de56bc0163b40daacd0584ab355f2da7ee0541300d455a2122c906386') - -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 1122501, chezmoi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-02-02 13:22:00 UTC (rev 1122502) @@ -0,0 +1,61 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Tom Payne <twpa...@gmail.com> +# Contributor: <godea...@gmail.com> + +pkgname=chezmoi +pkgver=2.11.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=('7d62d81940f088e58bd82d0433d998515c6a3917efb75b88a498e2b2f3eb5e4a4089d2b2eda776fc93529defc3c0610ec4674a28dbff8cca8b9b384923090ed5') + +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" +}