Package Details: apache-lucene 10.0.0-1

Git Clone URL: https://aur.archlinux.org/apache-lucene.git (read-only, click to copy)
Package Base: apache-lucene
Description: Apache Lucene is a high-performance, full-featured text search engine library written entirely in Java.
Upstream URL: https://lucene.apache.org/
Licenses: Apache
Submitter: petronny
Maintainer: petronny (AutoUpdateBot)
Last Packager: AutoUpdateBot
Votes: 11
Popularity: 0.000000
First Submitted: 2017-01-23 08:03 (UTC)
Last Updated: 2024-10-15 07:59 (UTC)

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

1 2 3 4 Next › Last »

solonovamax commented on 2024-11-21 20:48 (UTC) (edited on 2024-11-21 20:49 (UTC) by solonovamax)

Hi, can you please install the luke.sh script?

Here's a modification to the PKGBUILD which does the following things: - installs the luke.sh script as the command luke - installs all the additional licenses that are currently not installed - does not install the test framework (if you include the test framework on your classpath, it reports an error due to the randomizedtesting.runner module being missing. this change is required for luke to work)

diff --git a/PKGBUILD b/PKGBUILD
index a32fe69..a37dc5b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -16,6 +16,10 @@ sha256sums=('b40c29039c363a9479947acfbc41efb381af7868233446412d625a197436a243')
 package() {
    cd "${srcdir}/$_pkgname-$pkgver"
    mkdir -p $pkgdir/usr/share/java/$pkgname
-   find . -type f -name '*.jar' -exec mv {} $pkgdir/usr/share/java/$pkgname \;
+   find . -type f -not \( -path '*test-framework*' -prune \) -name '*.jar'  -exec mv {} $pkgdir/usr/share/java/$pkgname \;
    install -Dm644 "LICENSE.txt" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+
+    find licenses/ -type f -name '*.txt' -exec install -Dm644 {} "${pkgdir}/usr/share/licenses/${pkgname}/" \;
+   sed -i 's|$MODULES/modules:$MODULES/modules-thirdparty|/usr/share/java/apache-lucene/|g' bin/luke.sh
+   install -Dm755 bin/luke.sh "${pkgdir}/usr/bin/luke"
 }

ignilux commented on 2022-05-08 14:27 (UTC)

PKGBUILD update for 8.11.1:

Same as black_dog's comment from 2021-11-29, but changing:

pkgver=8.11.1
sha512sums=('99dfbc6a7877c8446617724c9504931b8dec11162cd21cd47f2be102d41794d7bc732320b8ee1458e3881856c15abcb65c8de1e0e70210a5a73e303fab1c9473')

black_dog commented on 2021-11-29 11:56 (UTC)

This Packagebuild worked for me (8.11.0)


# Maintainer: Jingbei Li <i@jingbei.li>
# Co-Maintainer: Felix Golatofski <contact@xdfr.de>

_pkgname=lucene
pkgname=apache-$_pkgname
pkgver=8.11.0
pkgrel=1
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')
source=("https://downloads.apache.org/$_pkgname/java/$pkgver/$_pkgname-$pkgver.tgz")
sha512sums=('ae6fd7ffdcf980eaba5ab56f76fae238f094d52e38b3f40adf2ea99b028e072360027d05253f92c8be125be8f0b5f9926e74e96735fcb6bb8edfb69884135d53')

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"
}
<\code><\pre>

ilonachan commented on 2021-04-18 21:14 (UTC)

I think the version and checksum need to be updated again for 8.8.2

gabriel-del commented on 2020-08-25 15:32 (UTC)

I just could install with:

yay --editmenu --mflags --skipinteg -S apache-lucene

and then changing lucene-8.6.0.tgz to lucene-8.6.1.tgz

luccacondratiuk commented on 2020-08-24 16:00 (UTC) (edited on 2020-08-24 16:03 (UTC) by luccacondratiuk)

For 8.6.1 this PKGBUILD works fine:


# Maintainer: Jingbei Li <i@jingbei.li>
# Co-Maintainer: Felix Golatofski <contact@xdfr.de>

_pkgname=lucene
pkgname=apache-$_pkgname
pkgver=8.6.1
pkgrel=1
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')
source=("https://downloads.apache.org/lucene/java/8.6.1/$_pkgname-$pkgver.tgz")
sha512sums=('dc2e8f9387e7a8294f18d4662af12afdeb610fad6595a904b85b54a7f09a45340f27b23ef7f78cace59135fe0a881e5ac7d773>

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"
}

rahulravi7 commented on 2020-07-24 13:06 (UTC) (edited on 2020-07-24 13:23 (UTC) by rahulravi7)

Could you update the tarball version to 8.6.0 and the sha256sums, please? I got the checksum as 0f2a17d089da273d16c87c18c6ab02dc13816ed17ffd7cf82b1254888ba42f34

petronny commented on 2020-06-04 12:40 (UTC)

@TheGoliath Great! That will be nice.