Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

Untitled

By: a guest on Sep 19th, 2012  |  syntax: None  |  size: 0.76 KB  |  hits: 51  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Parth Buch <parthbuch115 at gmail >
  2. # Contributor: Tom Vincent <http://tlvince.com/contact/>
  3.  
  4. pkgname=meteorjs
  5. pkgver=0.3.5
  6. pkgrel=1
  7. pkgdesc="A new way to build apps."
  8. arch=('i686' 'x86_64')
  9. url="https://github.com/meteor/meteor"
  10. license=('GPL')
  11. depends=('')
  12. optdepends=('mongodb: for backend database')
  13. _source="http://d3sqy0vbqsdhku.cloudfront.net/meteor_$pkgver-1"
  14.  
  15. if [ "$CARCH" == x86_64 ]; then
  16.   _arch="amd64.deb"
  17.   md5sums=('0ca5035b1f7dfb5df242f6f342a9490e')
  18. else
  19.   _arch="i386.deb"
  20.   md5sums=('7da6a2cddc21c40478eb0c0acb7dfaa3')
  21. fi
  22.  
  23. source=(${_source}_${_arch})
  24.  
  25. build() {
  26.   ar x meteor_$pkgver-1_$_arch
  27.   mkdir -p meteor
  28.   tar xf data.tar.gz -C meteor
  29.   cp -r meteor/* $pkgdir
  30.   rm -rf control.tar.gz data.tar.gz debian-binary
  31. }