[arch-commits] Commit in vagrant/trunk (PKGBUILD)

Jonathan Steel jsteel at nymeria.archlinux.org
Wed Mar 19 20:46:42 UTC 2014


    Date: Wednesday, March 19, 2014 @ 21:46:42
  Author: jsteel
Revision: 107805

upgpkg: vagrant 1.5.1-4

Modified:
  vagrant/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2014-03-19 20:27:22 UTC (rev 107804)
+++ PKGBUILD	2014-03-19 20:46:42 UTC (rev 107805)
@@ -11,7 +11,7 @@
 
 pkgname=vagrant
 pkgver=1.5.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Build and distribute virtualized development environments"
 arch=('i686' 'x86_64')
 url="http://vagrantup.com"
@@ -35,9 +35,15 @@
 }
 
 package() {
-  install -d "$pkgdir"/{opt/,usr/bin/}
+  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/LICENSE \
+    "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }




More information about the arch-commits mailing list