Date: Sunday, December 29, 2019 @ 02:03:18 Author: daurnimator Revision: 543669
archrelease: copy trunk to community-x86_64 Added: chezmoi/repos/community-x86_64/PKGBUILD (from rev 543668, chezmoi/trunk/PKGBUILD) Deleted: chezmoi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-29 02:02:57 UTC (rev 543668) +++ PKGBUILD 2019-12-29 02:03:18 UTC (rev 543669) @@ -1,43 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Tom Payne <twpa...@gmail.com> -# Contributor: <godea...@gmail.com> - -pkgname=chezmoi -pkgver=1.7.9 -pkgrel=1 -pkgdesc="Manage your dotfiles across multiple machines" -arch=('x86_64') -url='https://www.chezmoi.io/' -license=('MIT') -makedepends=('go-pie' 'git') -depends=('glibc') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz") -sha256sums=('51d2684ec622bdcfe95ab1bc8198d0234235a044a3451044d71b151e52f63737') - -build() { - cd "$pkgname-$pkgver" - - go build \ - -tags noupgrade,noembeddocs \ - -gcflags "all=-trimpath=${PWD}" \ - -asmflags "all=-trimpath=${PWD}" \ - -ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \ - -X github.com/twpayne/chezmoi/cmd.VersionStr=$pkgver \ - -extldflags ${LDFLAGS}" \ - . -} - -package() { - cd "$pkgname-$pkgver" - - install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" - - mkdir -p "$pkgdir/usr/share/doc/$pkgname" - install -Dm644 docs/* "$pkgdir/usr/share/doc/$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 543668, chezmoi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-29 02:03:18 UTC (rev 543669) @@ -0,0 +1,43 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Tom Payne <twpa...@gmail.com> +# Contributor: <godea...@gmail.com> + +pkgname=chezmoi +pkgver=1.7.10 +pkgrel=1 +pkgdesc="Manage your dotfiles across multiple machines" +arch=('x86_64') +url='https://www.chezmoi.io/' +license=('MIT') +makedepends=('go-pie' 'git') +depends=('glibc') +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz") +sha256sums=('664df357f85fa0cad62c111ac06e0d4a40b5bf72396c32ee7a2ebd5c7b6f5ef1') + +build() { + cd "$pkgname-$pkgver" + + go build \ + -tags noupgrade,noembeddocs \ + -gcflags "all=-trimpath=${PWD}" \ + -asmflags "all=-trimpath=${PWD}" \ + -ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \ + -X github.com/twpayne/chezmoi/cmd.VersionStr=$pkgver \ + -extldflags ${LDFLAGS}" \ + . +} + +package() { + cd "$pkgname-$pkgver" + + install -D "$pkgname" "$pkgdir/usr/bin/$pkgname" + + mkdir -p "$pkgdir/usr/share/doc/$pkgname" + install -Dm644 docs/* "$pkgdir/usr/share/doc/$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" +}