blob: 16409220ccf2d733865a4f01a3268a882d10fd2e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
# Maintainer: devome <evinedeng@hotmail.com>
# Contributor: tarball <bootctl@gmail.com>
# Contributor: Karol Babioch <karol@babioch.de
pkgname=tika
pkgver=3.1.0
pkgrel=1
pkgdesc="Detects and extracts metadata and text from over a thousand different file types, such as PPT, XLS, and PDF. (desktop)"
arch=('any')
url="https://${pkgname}.apache.org"
license=('Apache-2.0')
depends=('java-runtime-headless')
optdepends=('tesseract: OCR support')
source=("${pkgname}-${pkgver}.jar::https://dlcdn.apache.org/${pkgname}/${pkgver}/${pkgname}-app-${pkgver}.jar"
"${pkgname}.desktop"
"${pkgname}.sh"
"${pkgname}.svg")
sha256sums=('73d6fec4f16d056a45dbd14c7748ee7c5946fc8826ea9ae517911e501e094855'
'7ee34098c9cd2a62589c86b08a39199e7e51243e8a8f8b3cc0b5135ad10ed3b0'
'731db35413b27db83915fe674c0e7094f198ab4ff2fa3a7707884dbad3f2ec1e'
'ccae8a7ff8b30e73511e11f5c33facbf87d7e47db8cc86e14a52116ac96da9b7')
noextract=("${pkgname}-${pkgver}.jar")
package() {
install -Dm644 "${pkgname}-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}.jar"
install -Dm644 "${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
install -Dm755 "${pkgname}.sh" "${pkgdir}/usr/bin/${pkgname}"
install -Dm644 "${pkgname}.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
}
|