blob: 432fc6d58a32e9d3003fe957acbfc49df018dd70 (
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
# Maintainer: Dave Wheeler <dwwheeler at gmail dot com>
# Contributor: Eric Liu <eric@hnws.me>
# Contributor: Levente Polyak <anthraxx[at]archlinux[dot]org>
# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com>
# Contributor: Spider.007 <archlinux AT spider007 DOT net>
pkgname=kibana-xpack
_relpkgname=kibana
pkgver=8.16.1
pkgrel=1
pkgdesc='Browser based analytics and search dashboard for Elasticsearch'
url='https://www.elastic.co/products/kibana'
arch=('x86_64')
license=('custom:Elastic2')
depends=('nodejs')
optdepends=('elasticsearch'
'nss: screenshotting plugin')
provides=("kibana=$pkgver")
conflicts=('kibana')
backup=('etc/kibana/kibana.yml' 'etc/kibana/node.options')
options=('!strip' 'emptydirs')
source=($pkgname-$pkgver.tar.gz::"https://github.com/elastic/kibana/archive/v${pkgver}.tar.gz"
kibana.service
tmpfile.conf
user.conf)
sha512sums=('165019f15b3dbcc689aba6c99885df2089521032d6341b7f429a9bd7b230f96cea9e16b73a6075163218462521f0465529e03e0e5324f4fdebdcc19bc9629829'
'be50713d4e4db3a8b2d0d02ec68b56ce1636ffa9a41738b0abf276c562c36ef6118f440f25b220f39302ba23b2351b5a38f961c8693ad03ea19424e4d40409e6'
'afed49c164561f3c658a6d2423519adcf4d5293c416cd93fa5c9d12421416c1e9cb4287e832009049cfd014b365dc1cd93d9cf879117c701cce4caad3b772a8e'
'9085884430c656cc68b855c3d6740e5fd0854a8785930341b29e15e201deacc1870d8223255d9ebe096cb111319bea9bf4faa03d0760d5819976ebf912221c7d')
validpgpkeys=('46095ACC8548582C1A2699A9D27D666CD88E42B4') # Elasticsearch (Elasticsearch Signing Key) <dev_ops@elasticsearch.org>
package() {
cd $_relpkgname-${pkgver}
install -dm 755 "${pkgdir}/usr/share/kibana"
cp -a * "${pkgdir}/usr/share/kibana"
install -Dm644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt"
install -Dm644 NOTICE.txt "$pkgdir/usr/share/licenses/$pkgname/NOTICE.txt"
install -dm 750 "${pkgdir}/etc/kibana"
install -Dm 640 config/{kibana.yml,node.options} -t "${pkgdir}/etc/kibana"
install -Dm 644 "${srcdir}/kibana.service" -t "${pkgdir}/usr/lib/systemd/system"
install -Dm 644 "${srcdir}/user.conf" "${pkgdir}/usr/lib/sysusers.d/kibana.conf"
install -Dm 644 "${srcdir}/tmpfile.conf" "${pkgdir}/usr/lib/tmpfiles.d/kibana.conf"
#rm -r "${pkgdir}/usr/share/kibana/node"
#find "${pkgdir}/usr/share/kibana/node_modules" -type d -empty -delete
#if [ -f "${pkgdir}/usr/share/kibana/data/uuid" ];then
# rm -v "${pkgdir}/usr/share/kibana/data/uuid"
#fi
}
# vim: ts=2 sw=2 et:
|