blob: 0c740a3c0a5552ab5012eb34e6ee32e723dadf63 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
# Maintainer: thorko contact@thorko.de
pkgname=promtail-git
pkgver=3.3.2
pkgrel=0
pkgdesc="Promtail - Logshipper for Loki"
arch=('x86_64')
url='https://github.com/grafana/loki'
license=('AGPL-3.0-only')
makedepends=('git' 'go' 'make')
source=("${pkgname}::git+https://github.com/grafana/loki.git")
sha256sums=('SKIP')
build() {
cd "$srcdir/$pkgname"
git fetch
git checkout v${pkgver}
make PROMTAIL_JOURNAL_ENABLED=true promtail
}
package() {
install -Dm0755 "$srcdir/$pkgname/clients/cmd/promtail/promtail" "${pkgdir}/usr/bin/promtail"
}
|