Date: Sunday, March 1, 2020 @ 09:31:30 Author: daurnimator Revision: 587394
archrelease: copy trunk to community-x86_64 Added: chezmoi/repos/community-x86_64/PKGBUILD (from rev 587393, chezmoi/trunk/PKGBUILD) Deleted: chezmoi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-03-01 09:30:54 UTC (rev 587393) +++ PKGBUILD 2020-03-01 09:31:30 UTC (rev 587394) @@ -1,43 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Tom Payne <twpa...@gmail.com> -# Contributor: <godea...@gmail.com> - -pkgname=chezmoi -pkgver=1.7.15 -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=('4c0a5c09f9467343c3609679701ce04079277406941c390b814bc0cf2274f4aa') - -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 587393, chezmoi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-03-01 09:31:30 UTC (rev 587394) @@ -0,0 +1,43 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Tom Payne <twpa...@gmail.com> +# Contributor: <godea...@gmail.com> + +pkgname=chezmoi +pkgver=1.7.15 +pkgrel=2 +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=('4c0a5c09f9467343c3609679701ce04079277406941c390b814bc0cf2274f4aa') + +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" +}