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

Jonathan Steel jsteel at gemini.archlinux.org
Wed Nov 17 08:52:54 UTC 2021


    Date: Wednesday, November 17, 2021 @ 08:52:54
  Author: jsteel
Revision: 1049735

archrelease: copy trunk to community-x86_64

Added:
  vagrant/repos/community-x86_64/PKGBUILD
    (from rev 1049734, vagrant/trunk/PKGBUILD)
Deleted:
  vagrant/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  156 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 78 insertions(+), 78 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-11-17 08:52:45 UTC (rev 1049734)
+++ PKGBUILD	2021-11-17 08:52:54 UTC (rev 1049735)
@@ -1,78 +0,0 @@
-# Maintainer: Jonathan Steel <jsteel at archlinux.org>
-# Contributor: Ido Rosen <ido at kernel.org>
-# Contributor: Brett Hoerner <brett at bretthoerner.com>
-# Contributor: Jochen Schalanda <jochen+aur at schalanda.name>
-# Contributor: Mathieu Clabaut <mathieu.clabaut at gmail.com>
-# Contributor: helios <aur at wiresphere.de>
-# Contributor: George Ornbo <gornbo at gmail.com>
-# Contributor: Niklas Heer <niklas.heer at me.com>
-# Contributor: Steven Nance <steven at devtrw.com>
-
-pkgname=vagrant
-pkgver=2.2.18
-pkgrel=2
-pkgdesc="Build and distribute virtualized development environments"
-arch=('x86_64')
-url="https://vagrantup.com"
-license=('MIT')
-options=('!emptydirs')
-depends=('curl' 'libarchive' 'libssh2' 'libxml2' 'libxslt' 'rsync'
-         'ruby2.7' 'xz' 'perl')
-makedepends=('git' 'go')
-conflicts=('vagrant-substrate')
-replaces=('vagrant-substrate')
-source=($pkgname-$pkgver.tar.gz::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz
-        "git+https://github.com/mitchellh/vagrant-installers.git#commit=5c78aa2")
-md5sums=('7f20db673b939507d06dd2c18a7f0bb5'
-         'SKIP')
-
-prepare() {
-  cd vagrant-installers
-
-  sed -i 's/rubyPath = "ruby"$/rubyPath = "ruby-2.7"/' substrate/launcher/main.go
-}
-
-build() {
-  cd $pkgname-$pkgver
-  gem-2.7 build $pkgname.gemspec
-
-  export GO111MODULE=off # golang 1.16 uses modules by default and packages below fail to compile
-  cd "$srcdir"/vagrant-installers/substrate/launcher
-  go get github.com/mitchellh/osext
-
-  go build \
-    -trimpath \
-    -buildmode=pie \
-    -ldflags "-extldflags \"${LDFLAGS}\"" \
-    -o vagrant
-}
-
-package() {
-  cd $pkgname-$pkgver
-
-  INSTALLERS_DIR="$srcdir"/vagrant-installers/substrate
-  EMBEDDED_DIR="$pkgdir"/opt/vagrant/embedded
-
-  install -d "$pkgdir"/usr/{bin,share/bash-completion/completions}
-  install -Dm644 "$INSTALLERS_DIR"/common/gemrc "$EMBEDDED_DIR"/etc/gemrc
-
-  echo "{ \"vagrant_version\": \"$pkgver\" }" > "$EMBEDDED_DIR"/manifest.json
-
-  GEM_PATH="$EMBEDDED_DIR"/gems/$pkgver GEM_HOME="$GEM_PATH" \
-  GEMRC="$EMBEDDED_DIR"/etc/gemrc \
-    gem-2.7 install $pkgname-$pkgver.gem --no-document --prerelease
-
-  install -Dm755 "$INSTALLERS_DIR"/launcher/vagrant \
-    "$pkgdir"/opt/$pkgname/bin/$pkgname
-
-  ln -s /opt/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
-
-  install -Dm644 contrib/bash/completion.sh \
-    "$pkgdir"/usr/share/bash-completion/completions/$pkgname
-
-  install -Dm644 contrib/vim/vagrantfile.vim \
-    "$pkgdir"/usr/share/vim/vimfiles/ftdetect/vagrantfile.vim
-
-  install -Dm644 LICENSE \
-    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}

Copied: vagrant/repos/community-x86_64/PKGBUILD (from rev 1049734, vagrant/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-11-17 08:52:54 UTC (rev 1049735)
@@ -0,0 +1,78 @@
+# Maintainer: Jonathan Steel <jsteel at archlinux.org>
+# Contributor: Ido Rosen <ido at kernel.org>
+# Contributor: Brett Hoerner <brett at bretthoerner.com>
+# Contributor: Jochen Schalanda <jochen+aur at schalanda.name>
+# Contributor: Mathieu Clabaut <mathieu.clabaut at gmail.com>
+# Contributor: helios <aur at wiresphere.de>
+# Contributor: George Ornbo <gornbo at gmail.com>
+# Contributor: Niklas Heer <niklas.heer at me.com>
+# Contributor: Steven Nance <steven at devtrw.com>
+
+pkgname=vagrant
+pkgver=2.2.19
+pkgrel=1
+pkgdesc="Build and distribute virtualized development environments"
+arch=('x86_64')
+url="https://vagrantup.com"
+license=('MIT')
+options=('!emptydirs')
+depends=('curl' 'libarchive' 'libssh2' 'libxml2' 'libxslt' 'rsync'
+         'ruby2.7' 'xz' 'perl')
+makedepends=('git' 'go')
+conflicts=('vagrant-substrate')
+replaces=('vagrant-substrate')
+source=($pkgname-$pkgver.tar.gz::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz
+        "git+https://github.com/mitchellh/vagrant-installers.git#commit=751f6b5")
+md5sums=('0738a0384ccd9cbf4d047638ea493625'
+         'SKIP')
+
+prepare() {
+  cd vagrant-installers
+
+  sed -i 's/rubyPath = "ruby"$/rubyPath = "ruby-2.7"/' substrate/launcher/main.go
+}
+
+build() {
+  cd $pkgname-$pkgver
+  gem-2.7 build $pkgname.gemspec
+
+  export GO111MODULE=off # golang 1.16 uses modules by default and packages below fail to compile
+  cd "$srcdir"/vagrant-installers/substrate/launcher
+  go get github.com/mitchellh/osext
+
+  go build \
+    -trimpath \
+    -buildmode=pie \
+    -ldflags "-extldflags \"${LDFLAGS}\"" \
+    -o vagrant
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  INSTALLERS_DIR="$srcdir"/vagrant-installers/substrate
+  EMBEDDED_DIR="$pkgdir"/opt/vagrant/embedded
+
+  install -d "$pkgdir"/usr/{bin,share/bash-completion/completions}
+  install -Dm644 "$INSTALLERS_DIR"/common/gemrc "$EMBEDDED_DIR"/etc/gemrc
+
+  echo "{ \"vagrant_version\": \"$pkgver\" }" > "$EMBEDDED_DIR"/manifest.json
+
+  GEM_PATH="$EMBEDDED_DIR"/gems/$pkgver GEM_HOME="$GEM_PATH" \
+  GEMRC="$EMBEDDED_DIR"/etc/gemrc \
+    gem-2.7 install $pkgname-$pkgver.gem --no-document --prerelease
+
+  install -Dm755 "$INSTALLERS_DIR"/launcher/vagrant \
+    "$pkgdir"/opt/$pkgname/bin/$pkgname
+
+  ln -s /opt/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+
+  install -Dm644 contrib/bash/completion.sh \
+    "$pkgdir"/usr/share/bash-completion/completions/$pkgname
+
+  install -Dm644 contrib/vim/vagrantfile.vim \
+    "$pkgdir"/usr/share/vim/vimfiles/ftdetect/vagrantfile.vim
+
+  install -Dm644 LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list