[arch-commits] Commit in vagrant/repos (4 files)

Jonathan Steel jsteel at archlinux.org
Wed Sep 28 16:19:17 UTC 2016


    Date: Wednesday, September 28, 2016 @ 16:19:15
  Author: jsteel
Revision: 190721

archrelease: copy trunk to community-testing-i686, community-testing-x86_64

Added:
  vagrant/repos/community-testing-i686/
  vagrant/repos/community-testing-i686/PKGBUILD
    (from rev 190720, vagrant/trunk/PKGBUILD)
  vagrant/repos/community-testing-x86_64/
  vagrant/repos/community-testing-x86_64/PKGBUILD
    (from rev 190720, vagrant/trunk/PKGBUILD)

-----------------------------------+
 community-testing-i686/PKGBUILD   |   60 ++++++++++++++++++++++++++++++++++++
 community-testing-x86_64/PKGBUILD |   60 ++++++++++++++++++++++++++++++++++++
 2 files changed, 120 insertions(+)

Copied: vagrant/repos/community-testing-i686/PKGBUILD (from rev 190720, vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2016-09-28 16:19:15 UTC (rev 190721)
@@ -0,0 +1,60 @@
+# $Id$
+# 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=1.8.6
+pkgrel=1
+pkgdesc="Build and distribute virtualized development environments"
+arch=('i686' 'x86_64')
+url="http://vagrantup.com"
+license=('MIT')
+options=('!emptydirs')
+depends=('vagrant-substrate')
+source=($pkgname-$pkgver.tar.gz::http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('27b431b4fac3e0ef9c844d7dea904427')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # build fails with 1.6.4 -> 1.6.8
+  sed -i '/nokogiri/s/1.6.7.1/1.6.3.1/'  vagrant.gemspec
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  EMBEDDED_DIR=/opt/vagrant/embedded
+
+  "$EMBEDDED_DIR"/bin/gem build $pkgname.gemspec
+
+  GEM_PATH="$srcdir"/$pkgname-$pkgver/gems-$pkgver-$pkgrel GEM_HOME="$GEM_PATH" \
+  GEMRC="$EMBEDDED_DIR"/etc/gemrc CPPFLAGS="-I$EMBEDDED_DIR"/include \
+  LDFLAGS="-L$EMBEDDED_DIR"/lib PATH="$EMBEDDED_DIR/bin:$PATH" \
+  SSL_CERT_FILE="$EMBEDDED_DIR"/cacert.pem \
+    "$EMBEDDED_DIR"/bin/gem install $pkgname-$pkgver.gem --no-ri --no-rdoc
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -d "$pkgdir"/usr/{bin,share/bash-completion/completions}
+  install -d "$pkgdir"/opt/vagrant/embedded
+
+  cp -r gems-$pkgver-$pkgrel "$pkgdir"/opt/vagrant/embedded/gems
+
+  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-testing-x86_64/PKGBUILD (from rev 190720, vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2016-09-28 16:19:15 UTC (rev 190721)
@@ -0,0 +1,60 @@
+# $Id$
+# 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=1.8.6
+pkgrel=1
+pkgdesc="Build and distribute virtualized development environments"
+arch=('i686' 'x86_64')
+url="http://vagrantup.com"
+license=('MIT')
+options=('!emptydirs')
+depends=('vagrant-substrate')
+source=($pkgname-$pkgver.tar.gz::http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('27b431b4fac3e0ef9c844d7dea904427')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  # build fails with 1.6.4 -> 1.6.8
+  sed -i '/nokogiri/s/1.6.7.1/1.6.3.1/'  vagrant.gemspec
+}
+
+build() {
+  cd $pkgname-$pkgver
+
+  EMBEDDED_DIR=/opt/vagrant/embedded
+
+  "$EMBEDDED_DIR"/bin/gem build $pkgname.gemspec
+
+  GEM_PATH="$srcdir"/$pkgname-$pkgver/gems-$pkgver-$pkgrel GEM_HOME="$GEM_PATH" \
+  GEMRC="$EMBEDDED_DIR"/etc/gemrc CPPFLAGS="-I$EMBEDDED_DIR"/include \
+  LDFLAGS="-L$EMBEDDED_DIR"/lib PATH="$EMBEDDED_DIR/bin:$PATH" \
+  SSL_CERT_FILE="$EMBEDDED_DIR"/cacert.pem \
+    "$EMBEDDED_DIR"/bin/gem install $pkgname-$pkgver.gem --no-ri --no-rdoc
+}
+
+package() {
+  cd $pkgname-$pkgver
+
+  install -d "$pkgdir"/usr/{bin,share/bash-completion/completions}
+  install -d "$pkgdir"/opt/vagrant/embedded
+
+  cp -r gems-$pkgver-$pkgrel "$pkgdir"/opt/vagrant/embedded/gems
+
+  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
+}



More information about the arch-commits mailing list