Commit 4391b0d8 authored by Manuel's avatar Manuel

Add lucene

parent 14611514
#
# Chakra Packages, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
pkgname=lucene
pkgver=2.9.4 # don't update to 3.x tree - OOo is not yet ready to use it
pkgrel=1
arch=('any')
pkgdesc="A high-performance, full-featured text search engine library written entirely in Java"
url="http://lucene.apache.org/java/docs/index.html"
license=("APACHE")
depends=('java-runtime')
source=(http://www.mirrorservice.org/sites/ftp.apache.org/lucene/java/$pkgver/lucene-${pkgver}.tar.gz)
md5sums=('ffc60c3a163105b22610dec15602329a')
build() {
/bin/true
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
install -m755 -d ${pkgdir}/usr/share/java/
# install all *.jar files
for i in `find ${srcdir} -name '*.jar'`; do
install $i ${pkgdir}/usr/share/java/
done
# create symlinks
cd ${pkgdir}/usr/share/java/
for i in `ls -1 *${pkgver}*.jar`; do
j=${i//-${pkgver}/}
ln -sv $i $j
done
# and one with different version numbering
ln -sv servlet-api-2.4.jar servlet-api.jar
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment