[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Mar 21 18:06:46 UTC 2020
Date: Saturday, March 21, 2020 @ 18:06:45
Author: felixonmars
Revision: 602935
archrelease: copy trunk to community-x86_64
Added:
chezmoi/repos/community-x86_64/PKGBUILD
(from rev 602934, chezmoi/trunk/PKGBUILD)
Deleted:
chezmoi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 86 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 43 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-03-21 18:06:30 UTC (rev 602934)
+++ PKGBUILD 2020-03-21 18:06:45 UTC (rev 602935)
@@ -1,43 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Contributor: Tom Payne <twpayne at gmail.com>
-# Contributor: <godeater at gmail.com>
-
-pkgname=chezmoi
-pkgver=1.7.16
-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=('69462e8ba61c7c6119cdefb99b56c524336077f99ee3297ce893c9b320e86ffc')
-
-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 602934, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-03-21 18:06:45 UTC (rev 602935)
@@ -0,0 +1,43 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor: <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=1.7.17
+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")
+sha512sums=('f282c524253c1e5bc1cdea3264e4e1d79af0c1461d4236e02582191ee46a64ab254ee0e0731d74c7dbca71bab73c9ee66281f9fb72ea6d5219f8195b2bef47b3')
+
+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"
+}
More information about the arch-commits
mailing list