1 # Maintainer: Thomas S Hatch <thatch45 at gmail dot com>
5 pkgdesc="Future branch of solr search suite"
7 url="http://lucene.apache.org/solr/"
9 depends=('java-environment=6')
10 makedepends=('subversion'
12 source=('solr.rc' 'solr.conf')
13 md5sums=('159e094cc5c6408410c0a1fe06637360'
14 '1113e9ee08fb694dcd13eed0d4bce624')
16 _svntrunk=https://svn.apache.org/repos/asf/lucene/dev/branches/branch_3x/
18 _DEST="${pkgdir}/usr/share/java/solr"
23 if [ -d $_svnmod/.svn ]; then
24 (cd $_svnmod && svn up -r $pkgver)
26 svn export $_svntrunk --config-dir ./ -r $pkgver $_svnmod
29 msg "SVN checkout done or server timeout"
30 msg "Starting make..."
32 rm -rf "$srcdir/$_svnmod-build"
33 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
34 cd "$srcdir/$_svnmod-build"
44 cd "$srcdir/$_svnmod-build/solr"
46 cp -r example/* $_DEST
47 mkdir -p $pkgdir/etc/rc.d
48 mkdir -p $pkgdir/etc/conf.d
49 cp $srcdir/solr.rc $pkgdir/etc/rc.d/solr
50 cp $srcdir/solr.conf $pkgdir/etc/conf.d/solr