Date: Tuesday, December 10, 2019 @ 22:57:51 Author: daurnimator Revision: 536593
archrelease: copy trunk to community-x86_64 Added: chezmoi/repos/community-x86_64/PKGBUILD (from rev 536592, chezmoi/trunk/PKGBUILD) Deleted: chezmoi/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 86 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 43 insertions(+), 43 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-12-10 22:57:16 UTC (rev 536592) +++ PKGBUILD 2019-12-10 22:57:51 UTC (rev 536593) @@ -1,43 +0,0 @@ -# Maintainer: Daurnimator <daurnima...@archlinux.org> -# Contributor: Tom Payne <twpa...@gmail.com> -# Contributor: <godea...@gmail.com> - -pkgname=chezmoi -pkgver=1.7.5 -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=('f77c0ef30f8c4a4b981a6479e69e073bbd701046be7dc544f5284871020e0afa') - -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 536592, chezmoi/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-12-10 22:57:51 UTC (rev 536593) @@ -0,0 +1,43 @@ +# Maintainer: Daurnimator <daurnima...@archlinux.org> +# Contributor: Tom Payne <twpa...@gmail.com> +# Contributor: <godea...@gmail.com> + +pkgname=chezmoi +pkgver=1.7.6 +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=('ade232a8624adef864b0ce052b340ca3ef1b4aea26acbc1442fce9a061cef9c5') + +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" +}