Skip to content

Instantly share code, notes, and snippets.

@imiric
Last active December 16, 2015 10:59
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save imiric/5424483 to your computer and use it in GitHub Desktop.
Save imiric/5424483 to your computer and use it in GitHub Desktop.
PKGBUILD for Vagrant 1.2.1
pkgname=vagrant
pkgver=1.2.1
pkgrel=4
pkgdesc="Tool for building and distributing virtualized development environments"
arch=('i686' 'x86_64')
url='http://vagrantup.com/'
license=('MIT')
depends=('ruby' 'virtualbox>=4.0' 'ruby-net-ssh>=2.6.6' \
'ruby-net-scp>=1.1.0' 'ruby-erubis>=2.7.0' 'ruby-i18n>=0.6.0' \
'ruby-log4r>=1.1.9' 'ruby-childprocess>=0.3.7')
options=(!strip)
source=("http://files.vagrantup.com/packages/a7853fe7b7f08dbedbc934eb9230d33be6bf746f/${pkgname}_${pkgver}_${CARCH}.rpm")
[[ "$CARCH" == "x86_64" ]] && md5sums=('e70e62f36c313da12258e416f73ce408')
[[ "$CARCH" == "i686" ]] && md5sums=('55619f61f0d953acc8f4d3b194e37c58')
package() {
mv ${srcdir}/{opt,usr} ${pkgdir}
}
# vim:set ts=2 sw=2 et:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment