This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 21st, 2012  |  syntax: Bash  |  size: 1.07 KB  |  views: 16  |  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: Leif Warner <abimelech@gmail.com>
  2. pkgname=geocouch
  3. pkgver=0.3.0
  4. pkgrel=1
  5. pkgdesc="A CouchDB add-on to support geospatial indexing and queries."
  6. arch=('i686' 'x86_64')
  7. url="http://github.com/couchbase/geocouch"
  8. license=('APACHE')
  9. depends=('couchdb')
  10. source=('https://github.com/couchbase/geocouch/tarball/couchdb1.2.x_v0.3.0')
  11. install=geocouch.install
  12. md5sums=('61b8c716b2901109ee6fb8b8abe9f7c7')
  13.  
  14. build() {
  15.     cd "$srcdir/couchbase-geocouch-d815127"
  16.     export COUCH_SRC=/usr/lib/couchdb/erlang/lib/couch-1.2.0/include/
  17.     make
  18. }
  19.  
  20. package() {
  21.     cd "$srcdir/couchbase-geocouch-d815127"
  22.     install -d -m755 -o couchdb -g daemon $pkgdir/etc/couchdb/default.d
  23.     install -m644 -o couchdb -g daemon etc/couchdb/default.d/geocouch.ini $pkgdir/etc/couchdb/default.d/geocouch.ini
  24.     install -d $pkgdir/usr/share/couchdb/www/script/test
  25.     install -t $pkgdir/usr/share/couchdb/www/script/test share/www/script/test/*
  26.     install -d $pkgdir/usr/lib/couchdb/erlang/lib/geocouch/ebin
  27.     install -t $pkgdir/usr/lib/couchdb/erlang/lib/geocouch/ebin ebin/*
  28. }
clone this paste RAW Paste Data