[arch-commits] Commit in vagrant/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jonathan Steel
jsteel at archlinux.org
Thu Nov 12 12:16:11 UTC 2020
Date: Thursday, November 12, 2020 @ 12:16:11
Author: jsteel
Revision: 751725
archrelease: copy trunk to community-x86_64
Added:
vagrant/repos/community-x86_64/PKGBUILD
(from rev 751724, vagrant/trunk/PKGBUILD)
Deleted:
vagrant/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 148 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 74 insertions(+), 74 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 12:16:02 UTC (rev 751724)
+++ PKGBUILD 2020-11-12 12:16:11 UTC (rev 751725)
@@ -1,74 +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.10
-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'
- 'ruby' '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=d299bd3")
-md5sums=('b6f4fba99d5f82c654e6409bc3eeda3a'
- 'SKIP')
-
-build() {
- cd $pkgname-$pkgver
- gem build $pkgname.gemspec
-
- 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 install $pkgname-$pkgver.gem --no-document
-
- 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 751724, vagrant/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 12:16:11 UTC (rev 751725)
@@ -0,0 +1,74 @@
+# 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.13
+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'
+ 'ruby' '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=b9e0cc2")
+md5sums=('fafa997b489f74cce0d97e8cdcf7f8f1'
+ 'SKIP')
+
+build() {
+ cd $pkgname-$pkgver
+ gem build $pkgname.gemspec
+
+ 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 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