Date: Tuesday, November 1, 2022 @ 16:49:16
Author: hashworks
Revision: 1340200
upgpkg: vector 0.25.0-2: Actually use release build, add zlib dep
Modified:
vector/trunk/PKGBUILD
----------+
PKGBUILD | 39 ++++++++++++++++++++-------------------
1 file changed, 20 insertions(+), 19 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-01 16:44:30 UTC (rev 1340199)
+++ PKGBUILD 2022-11-01 16:49:16 UTC (rev 1340200)
@@ -2,7 +2,7 @@
pkgname=vector
pkgver=0.25.0
-pkgrel=1
+pkgrel=2
pkgdesc="A high-performance observability data pipeline"
arch=("x86_64")
_target="x86_64-unknown-linux-gnu"
@@ -16,7 +16,7 @@
)
replaces=("vector-bin")
conflicts=("vector-bin" "vector-git")
-depends=("gcc-libs")
+depends=("gcc-libs" "zlib")
#
https://github.com/vectordotdev/vector/blob/master/docs/DEVELOPING.md#bring-your-own-toolbox
makedepends=(
"cargo"
@@ -25,9 +25,9 @@
"perl"
"cmake"
)
-checkdepends=(
- "cargo-nextest"
-)
+#checkdepends=(
+# "cargo-nextest"
+#)
source=(
"${pkgname}-${pkgver}.tar.gz::https://github.com/vectordotdev/vector/archive/refs/tags/v${pkgver}.tar.gz"
"${pkgname}.sysusers"
@@ -53,20 +53,21 @@
--target "${_target}"
}
-check() {
- cd "${pkgname}-${pkgver}"
- # Unit-Tests only, integration tests require services
- cargo nextest run \
- --workspace \
- --fail-fast \
- --test-threads num-cpus \
- --frozen \
- --release \
- --locked \
- --offline \
- --no-default-features \
- --target "${_target}"
-}
+# TODO: Fix. This throws away our release build and replaces it with a test
build…
+#check() {
+# cd "${pkgname}-${pkgver}"
+# # Unit-Tests only, integration tests require services
+# cargo nextest run \
+# --workspace \
+# --fail-fast \
+# --test-threads num-cpus \
+# --frozen \
+# --release \
+# --locked \
+# --offline \
+# --no-default-features \
+# --target "${_target}"
+#}
package() {
install -Dm644 "${pkgname}.sysusers"
"${pkgdir}/usr/lib/sysusers.d/${pkgname}.conf"