[arch-commits] Commit in chezmoi/repos/community-x86_64 (PKGBUILD PKGBUILD)
Daurnimator
daurnimator at gemini.archlinux.org
Wed Nov 3 13:37:14 UTC 2021
Date: Wednesday, November 3, 2021 @ 13:37:14
Author: daurnimator
Revision: 1035621
archrelease: copy trunk to community-x86_64
Added:
chezmoi/repos/community-x86_64/PKGBUILD
(from rev 1035620, chezmoi/trunk/PKGBUILD)
Deleted:
chezmoi/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 126 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 63 insertions(+), 63 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-03 13:36:57 UTC (rev 1035620)
+++ PKGBUILD 2021-11-03 13:37:14 UTC (rev 1035621)
@@ -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.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=('7a7f9b849f672d6cfc26b23ab0fa5084eaa228d54f828c80a0ada8f4980fd31e7ecee4a5e18ddd62249bacc3ddc0e0d34fc1209d6424106eb453b8b751ac2c77')
-
-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 1035620, chezmoi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-11-03 13:37:14 UTC (rev 1035621)
@@ -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.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"
+}
More information about the arch-commits
mailing list