summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 5f1bb30a54e562b178ea16a78a7a5434698916e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Maintainer: Jean-Francois Chevrette <jfchevrette@gmail.com>

_pkgname='mtail'
pkgname="${_pkgname}-bin"
_pkgver=v3.0.0-rc34
pkgver="${_pkgver//-/_}"
pkgrel=2
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')
conflicts=("${_pkgname}")
source=("https://github.com/google/mtail/releases/download/${_pkgver}/${_pkgname}_${_pkgver}_linux_amd64"
	"https://raw.githubusercontent.com/google/mtail/master/LICENSE")
sha256sums=('80a48ff6e983186d28589cd5ab21139b194084f5406341b169e2ca75b4d2174d'
            'cfc7749b96f63bd31c3c42b5c471bf756814053e847c10f3eb003417bc523d30')

package() {
  cd "${srcdir}"

  install -Dm755 "mtail_${_pkgver}_linux_amd64" "${pkgdir}/usr/bin/mtail"
  install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
}