summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 6e7a878004da294bff4da3667bf40428b244f66e (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
# Maintainer: Ning Sun <n@sunng.info>

pkgname=zipkin
pkgver=2.23.18
pkgrel=1
pkgdesc='Opensource Distributed Tracing System'
arch=('any')
url='http://zipkin.io'
license=('APACHE')
depends=('java-runtime>=8' 'bash')
optdepends=('kafka' 'cassandra')
install='zipkin.install'
source=(https://search.maven.org/remotecontent?filepath=io/zipkin/zipkin-server/${pkgver}/zipkin-server-${pkgver}-exec.jar
    'zipkin.sh'
    'zipkin.sysusers'
    'zipkin.service')
sha1sums=('2cdff46c54c452f0b4ae8aa8943d2364046d09c5'
    'SKIP'
    'SKIP'
    'SKIP')

package() {
    mkdir -p ${pkgdir}/{usr/bin,usr/share/java/zipkin}

    cp zipkin-server-${pkgver}-exec.jar ${pkgdir}/usr/share/java/zipkin/zipkin.jar

    install -Dm755 zipkin.sh ${pkgdir}/usr/bin/zipkin
    install -Dm644 ${srcdir}/zipkin.service ${pkgdir}/usr/lib/systemd/system/zipkin.service
    install -Dm644 "${srcdir}"/zipkin.sysusers "${pkgdir}"/usr/lib/sysusers.d/zipkin.conf
}