1 # Maintainer: Leif Warner <abimelech@gmail.com>
5 pkgdesc="A CouchDB add-on to support geospatial indexing and queries."
7 url="http://github.com/couchbase/geocouch"
10 source=('https://github.com/couchbase/geocouch/tarball/couchbase_1.2.0_geo')
11 install=geocouch.install
12 md5sums=('f1611b857003daffe6690d7c41fe73f6')
15 cd $srcdir/couchbase-geocouch-f755673
16 export COUCH_SRC=/usr/lib/couchdb/erlang/lib/couch-1.2.0a-/include/
21 cd "$srcdir/couchbase-geocouch-f755673"
22 install -d -m755 -o couchdb -g daemon $pkgdir/etc/couchdb/local.d
23 install -m644 -o couchdb -g daemon etc/couchdb/local.d/geocouch.ini $pkgdir/etc/couchdb/local.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 build/*