[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Caleb Maclennan
alerque at gemini.archlinux.org
Mon Aug 29 21:50:18 UTC 2022
Date: Monday, August 29, 2022 @ 21:50:18
Author: alerque
Revision: 1286356
archrelease: copy trunk to community-x86_64
Added:
chezmoi/repos/community-x86_64/PKGBUILD
(from rev 1286354, chezmoi/trunk/PKGBUILD)
Deleted:
chezmoi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 124 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 62 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-08-29 21:50:09 UTC (rev 1286355)
+++ PKGBUILD 2022-08-29 21:50:18 UTC (rev 1286356)
@@ -1,62 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Maintainer: Caleb Maclennan <caleb at alerque.com>
-# Contributor: Tom Payne <twpayne at gmail.com>
-# Contributor: <godeater at gmail.com>
-
-pkgname=chezmoi
-pkgver=2.21.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')
-options=('!lto')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
-sha512sums=('85796af6397884188c66056effa3db7855a19507113f4ff2f6607bc2107b0fd17632f38f0f90e520c5dc0fa3fe7ec49bcf88db9e03aad5b7753f0db5bec56fc9')
-
-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"
-
- 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 1286354, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-08-29 21:50:18 UTC (rev 1286356)
@@ -0,0 +1,62 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor: <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=2.21.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')
+options=('!lto')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
+sha512sums=('f515a7508b6ab3753eb9f3b4e005c598d48dbdaa3ba7a2233b3e85ed1b72ce38bc56e5133abbc6406f3649050a40a1e92f6dd40188852a93aefe87cb61ce4425')
+
+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"
+
+ 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