[arch-commits] Commit in vagrant/trunk (PKGBUILD)

Jonathan Steel jsteel at archlinux.org
Sat Jul 4 18:10:51 UTC 2020


    Date: Saturday, July 4, 2020 @ 18:10:51
  Author: jsteel
Revision: 657761

upgpkg: vagrant 2.2.9-2

Todo List: Move from `go-pie` dependency to `go`

Modified:
  vagrant/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++++++---
 1 file changed, 8 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-04 17:53:23 UTC (rev 657760)
+++ PKGBUILD	2020-07-04 18:10:51 UTC (rev 657761)
@@ -10,7 +10,7 @@
 
 pkgname=vagrant
 pkgver=2.2.9
-pkgrel=1
+pkgrel=2
 pkgdesc="Build and distribute virtualized development environments"
 arch=('x86_64')
 url="https://vagrantup.com"
@@ -18,7 +18,7 @@
 options=('!emptydirs')
 depends=('curl' 'libarchive' 'libssh2' 'libxml2' 'libxslt' 'rsync'
          'ruby' 'xz' 'perl')
-makedepends=('git' 'go-pie')
+makedepends=('git' 'go')
 conflicts=('vagrant-substrate')
 replaces=('vagrant-substrate')
 source=($pkgname-$pkgver.tar.gz::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz
@@ -46,7 +46,12 @@
 
   cd "$INSTALLERS_DIR"/vagrant_substrate/files/launcher
   go get github.com/mitchellh/osext
-  go build -o vagrant
+
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -ldflags "-extldflags \"${LDFLAGS}\"" \
+    -o vagrant
 }
 
 package() {



More information about the arch-commits mailing list