Skip to content

Instantly share code, notes, and snippets.

@shapeshed
Created October 3, 2013 08:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shapeshed/6806973 to your computer and use it in GitHub Desktop.
Save shapeshed/6806973 to your computer and use it in GitHub Desktop.
PKGBUILD for Vagrant 1.3.4
pkgname=vagrant
pkgver=1.3.4
pkgrel=1
pkgdesc="Tool for building and distributing virtualized development environments"
arch=('i686' 'x86_64')
url="http://vagrantup.com/"
license=('MIT')
options=(!strip)
depends=
_git_revision='0ac2a87388419b989c3c0d0318cc97df3b0ed27d'
source=(http://files.vagrantup.com/packages/${_git_revision}/${pkgname}_${pkgver}_${CARCH}.rpm)
[[ "$CARCH" == "x86_64" ]] && md5sums=('0f2bc776755c88497e4749a6691a607b')
[[ "$CARCH" == "i686" ]] && md5sums=('988b832deae74656a7e08f6d8cdf8b76')
package() {
mv $srcdir/{opt,usr} $pkgdir
}
@ido
Copy link

ido commented Oct 8, 2013

Hi, I've adopted the vagrant AUR package and submitted a modified version of this (sha512sums). Thank you for your help, you are attributed in the PKGBUILD now as a contributor.

I maintain my PKGBUILDs at this repository: https://github.com/ido/packages-archlinux
...so if you want anything else changed, just open an issue there or submit a comment in AUR. :-D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment