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

Jonathan Steel jsteel at archlinux.org
Sat Jul 11 08:12:29 UTC 2015


    Date: Saturday, July 11, 2015 @ 10:12:28
  Author: jsteel
Revision: 136691

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 136690, vagrant/trunk/PKGBUILD)
  vagrant/repos/community-testing-x86_64/
  vagrant/repos/community-testing-x86_64/PKGBUILD
    (from rev 136690, vagrant/trunk/PKGBUILD)

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

Copied: vagrant/repos/community-testing-i686/PKGBUILD (from rev 136690, vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD	                        (rev 0)
+++ community-testing-i686/PKGBUILD	2015-07-11 08:12:28 UTC (rev 136691)
@@ -0,0 +1,57 @@
+# $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.7.3
+pkgrel=1
+pkgdesc="Build and distribute virtualized development environments"
+arch=('i686' 'x86_64')
+url="http://vagrantup.com"
+license=('MIT')
+options=('!emptydirs')
+depends=('lzo' 'libidn' 'rtmpdump')
+makedepends=('git')
+source=($pkgname-$pkgver.tar.gz::http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz)
+source_i686+=(http://pkgbuild.com/~jsteel/arch/$pkgname/substrate_archlinux_i686.zip)
+source_x86_64+=(http://pkgbuild.com/~jsteel/arch/$pkgname/substrate_archlinux_x86_64.zip)
+md5sums=('f69210d71278884d1ab918e251fc7371')
+md5sums_i686=('c04042b24de56d18a041bc005e5ecaa4')
+md5sums_x86_64=('53d8a137e0b50fee8509a7d1c15fd33b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  EMBEDDED_DIR="$srcdir"/substrate/embedded
+
+  echo -n $pkgver > "$srcdir"/substrate/${pkgname}_version
+
+  "$EMBEDDED_DIR"/bin/gem build $pkgname.gemspec
+
+  GEM_PATH="$EMBEDDED_DIR"/gems 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() {
+  install -d "$pkgdir"/{opt/,usr/bin/,usr/share/bash-completion/completions/}
+
+  cp -r "$srcdir"/substrate/ "$pkgdir"/opt/$pkgname/
+
+  ln -s /opt/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+
+  ln -s /opt/$pkgname/embedded/gems/gems/$pkgname-$pkgver/contrib/bash/completion.sh \
+    "$pkgdir"/usr/share/bash-completion/completions/$pkgname
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}

Copied: vagrant/repos/community-testing-x86_64/PKGBUILD (from rev 136690, vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD	                        (rev 0)
+++ community-testing-x86_64/PKGBUILD	2015-07-11 08:12:28 UTC (rev 136691)
@@ -0,0 +1,57 @@
+# $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.7.3
+pkgrel=1
+pkgdesc="Build and distribute virtualized development environments"
+arch=('i686' 'x86_64')
+url="http://vagrantup.com"
+license=('MIT')
+options=('!emptydirs')
+depends=('lzo' 'libidn' 'rtmpdump')
+makedepends=('git')
+source=($pkgname-$pkgver.tar.gz::http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz)
+source_i686+=(http://pkgbuild.com/~jsteel/arch/$pkgname/substrate_archlinux_i686.zip)
+source_x86_64+=(http://pkgbuild.com/~jsteel/arch/$pkgname/substrate_archlinux_x86_64.zip)
+md5sums=('f69210d71278884d1ab918e251fc7371')
+md5sums_i686=('c04042b24de56d18a041bc005e5ecaa4')
+md5sums_x86_64=('53d8a137e0b50fee8509a7d1c15fd33b')
+
+build() {
+  cd $pkgname-$pkgver
+
+  EMBEDDED_DIR="$srcdir"/substrate/embedded
+
+  echo -n $pkgver > "$srcdir"/substrate/${pkgname}_version
+
+  "$EMBEDDED_DIR"/bin/gem build $pkgname.gemspec
+
+  GEM_PATH="$EMBEDDED_DIR"/gems 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() {
+  install -d "$pkgdir"/{opt/,usr/bin/,usr/share/bash-completion/completions/}
+
+  cp -r "$srcdir"/substrate/ "$pkgdir"/opt/$pkgname/
+
+  ln -s /opt/$pkgname/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
+
+  ln -s /opt/$pkgname/embedded/gems/gems/$pkgname-$pkgver/contrib/bash/completion.sh \
+    "$pkgdir"/usr/share/bash-completion/completions/$pkgname
+
+  install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list