[arch-commits] Commit in chezmoi/trunk (PKGBUILD)
Daurnimator
daurnimator at archlinux.org
Tue Jun 9 12:37:01 UTC 2020
Date: Tuesday, June 9, 2020 @ 12:37:00
Author: daurnimator
Revision: 640709
replace go-pie with new go packaging guidelines
Modified:
chezmoi/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-06-09 12:31:35 UTC (rev 640708)
+++ PKGBUILD 2020-06-09 12:37:00 UTC (rev 640709)
@@ -4,12 +4,12 @@
pkgname=chezmoi
pkgver=1.8.1
-pkgrel=1
+pkgrel=2
pkgdesc="Manage your dotfiles across multiple machines"
arch=('x86_64')
url='https://www.chezmoi.io/'
license=('MIT')
-makedepends=('go-pie' 'git')
+makedepends=('go' 'git')
depends=('glibc')
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/twpayne/chezmoi/archive/v${pkgver}.tar.gz")
sha512sums=('9893c51b75c5aa792595f7edc116670248c3c9c411bb3762577dc5fab1bf67edd9b179119b59fb0dfbd13a8b9c210bd3802facb93b3791f9d17f78d056f91c16')
@@ -18,9 +18,11 @@
cd "$pkgname-$pkgver"
go build \
+ -trimpath \
+ -buildmode=pie \
+ -mod=readonly \
+ -modcacherw \
-tags noupgrade,noembeddocs \
- -gcflags "all=-trimpath=${PWD}" \
- -asmflags "all=-trimpath=${PWD}" \
-ldflags "-X github.com/twpayne/chezmoi/cmd.DocsDir=/usr/share/doc/$pkgname \
-X github.com/twpayne/chezmoi/cmd.VersionStr=$pkgver \
-extldflags ${LDFLAGS}" \
More information about the arch-commits
mailing list