[arch-commits] Commit in vagrant/repos/community-x86_64 (PKGBUILD PKGBUILD)
Jonathan Steel
jsteel at archlinux.org
Sat Nov 21 12:24:56 UTC 2020
Date: Saturday, November 21, 2020 @ 12:24:56
Author: jsteel
Revision: 758476
archrelease: copy trunk to community-x86_64
Added:
vagrant/repos/community-x86_64/PKGBUILD
(from rev 758475, vagrant/trunk/PKGBUILD)
Deleted:
vagrant/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 148 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 74 insertions(+), 74 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-21 12:24:46 UTC (rev 758475)
+++ PKGBUILD 2020-11-21 12:24:56 UTC (rev 758476)
@@ -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.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
-}
Copied: vagrant/repos/community-x86_64/PKGBUILD (from rev 758475, vagrant/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-21 12:24:56 UTC (rev 758476)
@@ -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.14
+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=4ddca26")
+md5sums=('fef064ac4c3aa80ce64addcfc4666196'
+ '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