aboutsummarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 4952c3862222..a3eb6e0912c1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,6 +9,8 @@ pkgver=1.9.6
pkgrel=1
epoch=
+_pkgmaj=${pkgver:0:3}
+
pkgdesc='Collect data/logs from different sources, unify and send them to multiple destinations.'
arch=(x86_64 aarch64 armv7h)
url='https://fluentbit.io/'
@@ -30,7 +32,7 @@ backup=('etc/fluent-bit/fluent-bit.conf'
options=()
install=
changelog=
-source=("$pkgname-$pkgver.tar.gz::https://releases.fluentbit.io/${pkgver:0:3}/source-$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://releases.fluentbit.io/$_pkgmaj/source-$pkgver.tar.gz")
noextract=()
validpgpkeys=()