Date: Monday, April 23, 2018 @ 08:22:39 Author: jsteel Revision: 317336
archrelease: copy trunk to community-x86_64 Added: vagrant/repos/community-x86_64/PKGBUILD (from rev 317335, vagrant/trunk/PKGBUILD) Deleted: vagrant/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 138 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 69 insertions(+), 69 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2018-04-23 08:22:30 UTC (rev 317335) +++ PKGBUILD 2018-04-23 08:22:39 UTC (rev 317336) @@ -1,69 +0,0 @@ -# $Id$ -# Maintainer: Jonathan Steel <jsteel at archlinux.org> -# Contributor: Ido Rosen <i...@kernel.org> -# Contributor: Brett Hoerner <br...@bretthoerner.com> -# Contributor: Jochen Schalanda <jochen+...@schalanda.name> -# Contributor: Mathieu Clabaut <mathieu.clab...@gmail.com> -# Contributor: helios <a...@wiresphere.de> -# Contributor: George Ornbo <gor...@gmail.com> -# Contributor: Niklas Heer <niklas.h...@me.com> -# Contributor: Steven Nance <ste...@devtrw.com> - -pkgname=vagrant -pkgver=2.0.3 -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') -makedepends=('git' 'go-pie') -conflicts=('vagrant-substrate') -replaces=('vagrant-substrate') -source=($pkgname-$pkgver.tar.gz::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz - "git://github.com/mitchellh/vagrant-installers.git#commit=7b7fb86") -md5sums=('18497ca4938b72723449f7d3436056fd' - 'SKIP') - -build() { - cd $pkgname-$pkgver - - INSTALLERS_DIR="$srcdir"/vagrant-installers/substrate/modules - - gem build $pkgname.gemspec - - cd "$INSTALLERS_DIR"/vagrant_substrate/files/launcher - go get github.com/mitchellh/osext - go build -o vagrant -} - -package() { - cd $pkgname-$pkgver - - INSTALLERS_DIR="$srcdir"/vagrant-installers/substrate/modules - EMBEDDED_DIR="$pkgdir"/opt/vagrant/embedded - - install -d "$pkgdir"/usr/{bin,share/bash-completion/completions} - - install -Dm644 "$INSTALLERS_DIR"/vagrant_substrate/templates/gemrc.erb \ - "$EMBEDDED_DIR"/etc/gemrc - - cp -r "$INSTALLERS_DIR"/rubyencoder/files/rgloader "$EMBEDDED_DIR" - - GEM_PATH="$EMBEDDED_DIR"/gems GEM_HOME="$GEM_PATH" \ - GEMRC="$EMBEDDED_DIR"/etc/gemrc \ - gem install $pkgname-$pkgver.gem --no-ri --no-rdoc - - install -Dm755 "$INSTALLERS_DIR"/vagrant_substrate/files/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 LICENSE \ - "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: vagrant/repos/community-x86_64/PKGBUILD (from rev 317335, vagrant/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2018-04-23 08:22:39 UTC (rev 317336) @@ -0,0 +1,69 @@ +# $Id$ +# Maintainer: Jonathan Steel <jsteel at archlinux.org> +# Contributor: Ido Rosen <i...@kernel.org> +# Contributor: Brett Hoerner <br...@bretthoerner.com> +# Contributor: Jochen Schalanda <jochen+...@schalanda.name> +# Contributor: Mathieu Clabaut <mathieu.clab...@gmail.com> +# Contributor: helios <a...@wiresphere.de> +# Contributor: George Ornbo <gor...@gmail.com> +# Contributor: Niklas Heer <niklas.h...@me.com> +# Contributor: Steven Nance <ste...@devtrw.com> + +pkgname=vagrant +pkgver=2.0.4 +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') +makedepends=('git' 'go-pie') +conflicts=('vagrant-substrate') +replaces=('vagrant-substrate') +source=($pkgname-$pkgver.tar.gz::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz + "git://github.com/mitchellh/vagrant-installers.git#commit=7b7fb86") +md5sums=('dd72d6eee15aa5592cc37c1b0daf208b' + 'SKIP') + +build() { + cd $pkgname-$pkgver + + INSTALLERS_DIR="$srcdir"/vagrant-installers/substrate/modules + + gem build $pkgname.gemspec + + cd "$INSTALLERS_DIR"/vagrant_substrate/files/launcher + go get github.com/mitchellh/osext + go build -o vagrant +} + +package() { + cd $pkgname-$pkgver + + INSTALLERS_DIR="$srcdir"/vagrant-installers/substrate/modules + EMBEDDED_DIR="$pkgdir"/opt/vagrant/embedded + + install -d "$pkgdir"/usr/{bin,share/bash-completion/completions} + + install -Dm644 "$INSTALLERS_DIR"/vagrant_substrate/templates/gemrc.erb \ + "$EMBEDDED_DIR"/etc/gemrc + + cp -r "$INSTALLERS_DIR"/rubyencoder/files/rgloader "$EMBEDDED_DIR" + + GEM_PATH="$EMBEDDED_DIR"/gems GEM_HOME="$GEM_PATH" \ + GEMRC="$EMBEDDED_DIR"/etc/gemrc \ + gem install $pkgname-$pkgver.gem --no-ri --no-rdoc + + install -Dm755 "$INSTALLERS_DIR"/vagrant_substrate/files/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 LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}