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

Daurnimator daurnimator at archlinux.org
Mon Dec 21 13:15:23 UTC 2020


    Date: Monday, December 21, 2020 @ 13:15:22
  Author: daurnimator
Revision: 781013

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   98 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 49 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-12-21 13:15:18 UTC (rev 781012)
+++ PKGBUILD	2020-12-21 13:15:22 UTC (rev 781013)
@@ -1,49 +0,0 @@
-# Maintainer: Daurnimator <daurnimator at archlinux.org>
-# Contributor: Tom Payne <twpayne at gmail.com>
-# Contributor:  <godeater at gmail.com>
-
-pkgname=chezmoi
-pkgver=1.8.9
-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=('cc80321ecda99d9b66b4c2e5243ae595513e4f26916a44414f9b33dcd3a3a36e23795a2b7e9c12b67c9b89b67643f4b1491f7af0707a2ae139b6479d4cddcf29')
-
-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}" \
-    .
-}
-
-package() {
-  cd "$pkgname-$pkgver"
-
-  install -D "$pkgname" "$pkgdir/usr/bin/$pkgname"
-
-  mkdir -p "$pkgdir/usr/share/doc/$pkgname"
-  install -Dm644 docs/* "$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 781011, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-12-21 13:15:22 UTC (rev 781013)
@@ -0,0 +1,49 @@
+# Maintainer: Daurnimator <daurnimator at archlinux.org>
+# Contributor: Tom Payne <twpayne at gmail.com>
+# Contributor:  <godeater at gmail.com>
+
+pkgname=chezmoi
+pkgver=1.8.10
+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=('150a4e19c83da0c3086479ade2f7664ee3b485298791634046e38af5c084e45ee989fdbe4b8b0838e955f02611e6640845ee491f735cd802343f6fad1f02e3fc')
+
+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}" \
+    .
+}
+
+package() {
+  cd "$pkgname-$pkgver"
+
+  install -D "$pkgname" "$pkgdir/usr/bin/$pkgname"
+
+  mkdir -p "$pkgdir/usr/share/doc/$pkgname"
+  install -Dm644 docs/* "$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