Date: Saturday, July 18, 2015 @ 20:13:32 Author: jsteel Revision: 137094
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 137093, vagrant/trunk/PKGBUILD) vagrant/repos/community-testing-x86_64/ vagrant/repos/community-testing-x86_64/PKGBUILD (from rev 137093, 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 137093, vagrant/trunk/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2015-07-18 18:13:32 UTC (rev 137094) @@ -0,0 +1,57 @@ +# $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=1.7.4 +pkgrel=1 +_subver=2 +pkgdesc="Build and distribute virtualized development environments" +arch=('i686' 'x86_64') +url="http://vagrantup.com" +license=('MIT') +options=('!emptydirs') +depends=('lzo' 'libidn' 'rtmpdump') +source=($pkgname-$pkgver.tar.gz::http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz) +source_i686+=(http://pkgbuild.com/~jsteel/$pkgname/substrate_archlinux_i686-$_subver.zip) +source_x86_64+=(http://pkgbuild.com/~jsteel/$pkgname/substrate_archlinux_x86_64-$_subver.zip) +md5sums=('556b5e5594a327d46b63c4d8024db187') +md5sums_i686=('a72932fa4f1a936d633a8efcde8981c1') +md5sums_x86_64=('98d92dedfb660045ba779c4761deac58') + +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 137093, vagrant/trunk/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2015-07-18 18:13:32 UTC (rev 137094) @@ -0,0 +1,57 @@ +# $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=1.7.4 +pkgrel=1 +_subver=2 +pkgdesc="Build and distribute virtualized development environments" +arch=('i686' 'x86_64') +url="http://vagrantup.com" +license=('MIT') +options=('!emptydirs') +depends=('lzo' 'libidn' 'rtmpdump') +source=($pkgname-$pkgver.tar.gz::http://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz) +source_i686+=(http://pkgbuild.com/~jsteel/$pkgname/substrate_archlinux_i686-$_subver.zip) +source_x86_64+=(http://pkgbuild.com/~jsteel/$pkgname/substrate_archlinux_x86_64-$_subver.zip) +md5sums=('556b5e5594a327d46b63c4d8024db187') +md5sums_i686=('a72932fa4f1a936d633a8efcde8981c1') +md5sums_x86_64=('98d92dedfb660045ba779c4761deac58') + +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 +}