blob: 8c7376e6868fc4d503245b8b55cc5ef3375fbabe (
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
|
# Maintainer: Ning Sun <n@sunng.info>
pkgname=questdb
pkgver=6.3.1
pkgrel=1
pkgdesc='Fast timeseries database'
arch=('any')
url='https://questdb.io'
license=('APACHE')
depends=('java-runtime=11' 'bash')
install='questdb.install'
source=(https://github.com/questdb/questdb/releases/download/${pkgver}/questdb-${pkgver}-no-jre-bin.tar.gz
'questdb.sh'
'questdb.sysusers'
'questdb-tmpfile.conf'
'questdb.service')
sha1sums=('SKIP'
'SKIP'
'SKIP'
'SKIP'
'SKIP')
package() {
mkdir -p ${pkgdir}/{usr/bin,usr/share/java/questdb,etc/questdb,var/lib/questdb}
tar xf questdb-${pkgver}-no-jre-bin.tar.gz
cp questdb-${pkgver}-no-jre-bin/questdb.jar ${pkgdir}/usr/share/java/questdb/questdb.jar
install -Dm755 questdb.sh ${pkgdir}/usr/bin/questdb
install -Dm644 ${srcdir}/questdb.service ${pkgdir}/usr/lib/systemd/system/questdb.service
install -Dm644 ${srcdir}/questdb.sysusers ${pkgdir}/usr/lib/sysusers.d/questdb.conf
install -Dm644 ${srcdir}/questdb-tmpfile.conf ${pkgdir}/usr/lib/tmpfiles.d/questdb.conf
}
|