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

Daurnimator daurnimator at archlinux.org
Tue May 11 10:48:22 UTC 2021


    Date: Tuesday, May 11, 2021 @ 10:48:22
  Author: daurnimator
Revision: 929939

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |  110 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-11 10:48:07 UTC (rev 929938)
+++ PKGBUILD	2021-05-11 10:48:22 UTC (rev 929939)
@@ -1,55 +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.11
-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=('083043fd27dd71c251d89c418f9e9a994b2141574a09909374d07e33f2eb1256a2ac24e66895083a47a854209a769278814c5ef086510909ea7b671a5996fcee')
-
-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 \
-              -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 929938, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-05-11 10:48:22 UTC (rev 929939)
@@ -0,0 +1,55 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor:  <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=2.0.12
+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=('8aa9bbfbd2274a04c07f9e37422bb71d8866a4955aa8db3762275238acd20a5e1e31b2b7bdece295ea358e5e4c5d68370c4d4d9ead033e61ffdde64905a78109')
+
+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 \
+              -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