[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at gemini.archlinux.org
Tue Nov 30 10:13:08 UTC 2021
Date: Tuesday, November 30, 2021 @ 10:13:08
Author: daurnimator
Revision: 1057690
archrelease: copy trunk to community-x86_64
Added:
chezmoi/repos/community-x86_64/PKGBUILD
(from rev 1057689, chezmoi/trunk/PKGBUILD)
Deleted:
chezmoi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-30 10:12:51 UTC (rev 1057689)
+++ PKGBUILD 2021-11-30 10:13:08 UTC (rev 1057690)
@@ -1,63 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Contributor: Tom Payne <twpayne at gmail.com>
-# Contributor: <godeater at gmail.com>
-
-pkgname=chezmoi
-pkgver=2.9.0
-pkgrel=1
-pkgdesc="Manage your dotfiles across multiple machines"
-arch=('x86_64')
-url='https://www.chezmoi.io/'
-license=('MIT')
-makedepends=('go' 'git')
-depends=('glibc')
-checkdepends=('zip')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
-sha512sums=('f9e4457043966045042977c489715439ed7b1d7659afa4f7117575c0b0fb63d49389208f21808af433f2fc85a52cfbd783e2b2e9bcdc7e91d4ff9e552b622b42')
-
-prepare() {
- cd "$pkgname-$pkgver"
-
- go mod download
-}
-
-build() {
- cd "$pkgname-$pkgver"
-
- export CGO_LDFLAGS="${LDFLAGS}"
- export CGO_CFLAGS="${CFLAGS}"
- export CGO_CPPFLAGS="${CPPFLAGS}"
- export CGO_CXXFLAGS="${CXXFLAGS}"
- export GOPROXY=off
- go build \
- -trimpath \
- -buildmode=pie \
- -mod=readonly \
- -tags noupgrade \
- -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 1057689, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-30 10:13:08 UTC (rev 1057690)
@@ -0,0 +1,63 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor: <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=2.9.1
+pkgrel=1
+pkgdesc="Manage your dotfiles across multiple machines"
+arch=('x86_64')
+url='https://www.chezmoi.io/'
+license=('MIT')
+makedepends=('go' 'git')
+depends=('glibc')
+checkdepends=('zip')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
+sha512sums=('2c5d1d21234e0c07095620bc3e01d125deb1a77275334337380ad2aff6d4ec05a3b8a4efa4b86bd2d0d151f56098336a2310396067a30da8c6b2df18156f1eae')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+
+ go mod download
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ export CGO_LDFLAGS="${LDFLAGS}"
+ export CGO_CFLAGS="${CFLAGS}"
+ export CGO_CPPFLAGS="${CPPFLAGS}"
+ export CGO_CXXFLAGS="${CXXFLAGS}"
+ export GOPROXY=off
+ go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -tags noupgrade \
+ -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