blob: b5426c92b27b8d11a0f1c792a073865c5fdc86db (
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
|
# Maintainer: Justin ! <just1602@riseup.net>
pkgname='mtail'
pkgver=3.0.8
pkgrel=1
pkgdesc='extract whitebox monitoring data from application logs for collection in a timeseries database'
arch=('x86_64')
url='https://github.com/google/mtail'
license=('Apache')
makedepends=('git' 'go')
conflicts=("${pkgname}")
source=("git+https://github.com/google/mtail#tag=v${pkgver}")
sha256sums=('SKIP')
build() {
cd "${pkgname}"
make
}
check() {
cd "${pkgname}"
make test
}
package() {
cd "${pkgname}"
install -Dm755 "mtail" "${pkgdir}/usr/bin/mtail"
install -Dm755 "mfmt" "${pkgdir}/usr/bin/mfmt"
install -Dm755 "mdot" "${pkgdir}/usr/bin/mdot"
install -Dm755 "mgen" "${pkgdir}/usr/bin/mgen"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
}
|