[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)

Daurnimator daurnimator at gemini.archlinux.org
Mon Nov 8 11:25:02 UTC 2021


    Date: Monday, November 8, 2021 @ 11:25:02
  Author: daurnimator
Revision: 1038773

archrelease: copy trunk to community-x86_64

Added:
  chezmoi/repos/community-x86_64/PKGBUILD
    (from rev 1038772, chezmoi/trunk/PKGBUILD)
Deleted:
  chezmoi/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  126 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 63 insertions(+), 63 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-08 11:24:45 UTC (rev 1038772)
+++ PKGBUILD	2021-11-08 11:25:02 UTC (rev 1038773)
@@ -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.7.4
-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=('51da6e25321cbc68638b8cf23362545e77d1b9a8010f8a2e8538ef9729870af92de4fa6324168f3b49394fdca3671b51e47a464ae1ccb5aeea863c7a327e80dc')
-
-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 1038772, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-08 11:25:02 UTC (rev 1038773)
@@ -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.7.5
+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=('f0d76d2306b5f6af783cfceb400b3e107ec5217a79b07db13b2a515f7efcf6ebbfb717c94733b4198408c0973d73418376cbc460318d60527088ced13a8ab33d')
+
+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