[arch-commits] Commit in vagrant/repos (4 files)
Jonathan Steel
jsteel at archlinux.org
Tue Nov 29 09:33:24 UTC 2016
Date: Tuesday, November 29, 2016 @ 09:33:23
Author: jsteel
Revision: 197355
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 197354, vagrant/trunk/PKGBUILD)
vagrant/repos/community-testing-x86_64/
vagrant/repos/community-testing-x86_64/PKGBUILD
(from rev 197354, vagrant/trunk/PKGBUILD)
-----------------------------------+
community-testing-i686/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 56 ++++++++++++++++++++++++++++++++++++
2 files changed, 112 insertions(+)
Copied: vagrant/repos/community-testing-i686/PKGBUILD (from rev 197354, vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-11-29 09:33:23 UTC (rev 197355)
@@ -0,0 +1,56 @@
+# $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.9.0
+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::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('14083c0ad434a6b3aa97dd35c5423415')
+
+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 -I${EMBEDDED_DIR}/include/libxml2" \
+ CFLAGS="${CPPFLAGS}" \
+ LDFLAGS="-L$EMBEDDED_DIR"/lib PATH="$EMBEDDED_DIR/bin:$PATH" \
+ SSL_CERT_FILE="$EMBEDDED_DIR"/cacert.pem \
+ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 \
+ "$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 197354, vagrant/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-11-29 09:33:23 UTC (rev 197355)
@@ -0,0 +1,56 @@
+# $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.9.0
+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::https://github.com/mitchellh/$pkgname/archive/v$pkgver.tar.gz)
+md5sums=('14083c0ad434a6b3aa97dd35c5423415')
+
+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 -I${EMBEDDED_DIR}/include/libxml2" \
+ CFLAGS="${CPPFLAGS}" \
+ LDFLAGS="-L$EMBEDDED_DIR"/lib PATH="$EMBEDDED_DIR/bin:$PATH" \
+ SSL_CERT_FILE="$EMBEDDED_DIR"/cacert.pem \
+ NOKOGIRI_USE_SYSTEM_LIBRARIES=1 \
+ "$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