Date: Friday, February 28, 2020 @ 21:56:58 Author: jsteel Revision: 586726
archrelease: copy trunk to community-x86_64 Added: vagrant/repos/community-x86_64/PKGBUILD (from rev 586725, vagrant/trunk/PKGBUILD) Deleted: vagrant/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 156 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 78 insertions(+), 78 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2020-02-28 21:56:52 UTC (rev 586725) +++ PKGBUILD 2020-02-28 21:56:58 UTC (rev 586726) @@ -1,78 +0,0 @@ -# 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.2.7 -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+https://github.com/mitchellh/vagrant-installers.git#commit=7b7fb86") -md5sums=('45147c55d560f3c91654e2c5535e7f58' - 'SKIP') - -prepare() { - cd $pkgname-$pkgver - - # relax ruby version requirements so this package can be built with the latest ruby - sed 's/s.required_ruby_version = "~> 2.4", "< 2.7"//' -i vagrant.gemspec -} - -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-document - - 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 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 586725, vagrant/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2020-02-28 21:56:58 UTC (rev 586726) @@ -0,0 +1,78 @@ +# 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.2.7 +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') +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+https://github.com/mitchellh/vagrant-installers.git#commit=7b7fb86") +md5sums=('45147c55d560f3c91654e2c5535e7f58' + 'SKIP') + +prepare() { + cd $pkgname-$pkgver + + # relax ruby version requirements so this package can be built with the latest ruby + sed 's/s.required_ruby_version = "~> 2.4", "< 2.7"//' -i vagrant.gemspec +} + +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-document + + 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 contrib/vim/vagrantfile.vim \ + "$pkgdir"/usr/share/vim/vimfiles/ftdetect/vagrantfile.vim + + install -Dm644 LICENSE \ + "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}