blob: 17e623ecfe2d2c8b64389ccd376b5d5cec98e3a5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
# Maintainer: Jingbei Li <i@jingbei.li>
_pkgname=lucene
pkgname=apache-$_pkgname
pkgver=6.3.0
pkgrel=2
pkgdesc="Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java."
arch=('any')
url="https://lucene.apache.org/"
license=('APACHE')
depends=('java-runtime')
_mirror="http://mirrors.tuna.tsinghua.edu.cn/apache"
source=("$_mirror/$_pkgname/java/$pkgver/$_pkgname-${pkgver}.tgz")
md5sums=('6330abfc46231a73bd6a4caeb660c412')
package() {
cd "${srcdir}/$_pkgname-$pkgver"
mkdir -p $pkgdir/usr/share/java/$pkgname
find . -type f -name '*.jar' -exec mv {} $pkgdir/usr/share/java/$pkgname \;
install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license.txt"
}
|