[arch-commits] Commit in vagrant/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jonathan Steel
jsteel at archlinux.org
Thu May 13 07:05:52 UTC 2021
Date: Thursday, May 13, 2021 @ 07:05:51
Author: jsteel
Revision: 932921
archrelease: copy trunk to community-x86_64
Added:
vagrant/repos/community-x86_64/PKGBUILD
(from rev 932920, vagrant/trunk/PKGBUILD)
Deleted:
vagrant/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 162 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 81 insertions(+), 81 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-13 07:05:39 UTC (rev 932920)
+++ PKGBUILD 2021-05-13 07:05:51 UTC (rev 932921)
@@ -1,81 +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.15
-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=4ddca26")
-md5sums=('58cbe4e680e085fa3a052c2f2a0b9f2a'
- '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 -d "$EMBEDDED_DIR"/rgloader
- install -Dm644 "$INSTALLERS_DIR"/common/gemrc "$EMBEDDED_DIR"/etc/gemrc
- install -Dm644 "$INSTALLERS_DIR"/{common,linux}/rgloader/* \
- "$EMBEDDED_DIR"/rgloader/
-
- 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 932920, vagrant/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-13 07:05:51 UTC (rev 932921)
@@ -0,0 +1,81 @@
+# 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.16
+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=e350c4d")
+md5sums=('ed1759e52633f63e05015f5f03db53a6'
+ '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 -d "$EMBEDDED_DIR"/rgloader
+ install -Dm644 "$INSTALLERS_DIR"/common/gemrc "$EMBEDDED_DIR"/etc/gemrc
+ install -Dm644 "$INSTALLERS_DIR"/{common,linux}/rgloader/* \
+ "$EMBEDDED_DIR"/rgloader/
+
+ 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