[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Mon Jun 28 11:47:39 UTC 2021
Date: Monday, June 28, 2021 @ 11:47:38
Author: daurnimator
Revision: 967688
archrelease: copy trunk to community-x86_64
Added:
chezmoi/repos/community-x86_64/PKGBUILD
(from rev 967687, chezmoi/trunk/PKGBUILD)
Deleted:
chezmoi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 112 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 56 insertions(+), 56 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-06-28 11:47:24 UTC (rev 967687)
+++ PKGBUILD 2021-06-28 11:47:38 UTC (rev 967688)
@@ -1,56 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Contributor: Tom Payne <twpayne at gmail.com>
-# Contributor: <godeater at gmail.com>
-
-pkgname=chezmoi
-pkgver=2.0.14
-pkgrel=1
-pkgdesc="Manage your dotfiles across multiple machines"
-arch=('x86_64')
-url='https://www.chezmoi.io/'
-license=('MIT')
-makedepends=('go' 'git')
-depends=('glibc')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
-sha512sums=('c0835e9e1d895a58cfe379c2217cc20a956cda2a866cb0feda86c98fd329285d474e280741e7971f01daa1057eb49c885675d3cf49c61ca9425546cde96b95a8')
-
-build() {
- cd "$pkgname-$pkgver"
-
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -modcacherw \
- -tags noupgrade,noembeddocs \
- -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"
-
- mkdir -p "$pkgdir/usr/share/doc/$pkgname"
- install -Dm644 docs/*.md "$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 967687, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-06-28 11:47:38 UTC (rev 967688)
@@ -0,0 +1,56 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor: <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=2.0.16
+pkgrel=1
+pkgdesc="Manage your dotfiles across multiple machines"
+arch=('x86_64')
+url='https://www.chezmoi.io/'
+license=('MIT')
+makedepends=('go' 'git')
+depends=('glibc')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
+sha512sums=('53988ec6f7ef7cc98493a7aa2cf705ac0b8e1d41ca88598f7ed2df964171628ead2f5c5c49e7d682c85fc54a53d2903bcf21159f31b4253599091070ddfea5c7')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
+ -tags noupgrade,noembeddocs \
+ -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"
+
+ mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+ install -Dm644 docs/*.md "$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