You are not logged in.
There is a 4.2 PKGBUILD in aur but it's not a matter of bumping the pkgver.
The options and installation set are completely different between the two major releases.
Last edited by hussam (2021-04-10 16:52:30)
Offline
I may be stating the obvious, but just to let you know mongodb-bin is in the AUR and is up to date...
Offline
Have you tried changes such as:
diff --git a/PKGBUILD b/PKGBUILD
index bc6ec34..8519519 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -9,7 +9,7 @@
pkgname=mongodb
# #.<odd number>.# releases are unstable development/testing
-pkgver=4.2.8
+pkgver=4.4.5
pkgrel=1
pkgdesc="A high-performance, open source, schema-free document-oriented database"
arch=("x86_64")
@@ -26,7 +26,7 @@ source=(
"${pkgname}.sysusers"
"${pkgname}.tmpfiles"
)
-sha256sums=('e8880277e3910afd82c71ed61861d518f2040cbc062e00a26d53a3224284db8f'
+sha256sums=('c5d2cc012a6a227e7849bb0f59be90560857ab732c689e727ddc2e99d81b5eeb'
'3757d548cfb0e697f59b9104f39a344bb3d15f802608085f838cb2495c065795'
'b7d18726225cd447e353007f896ff7e4cbedb2f641077bce70ab9d292e8f8d39')
@@ -81,10 +81,10 @@ build() {
cd "${srcdir}/${pkgname}-src-r${pkgver}"
export SCONSFLAGS="$MAKEFLAGS"
- scons core "${_scons_args[@]}"
+ scons install-core "${_scons_args[@]}"
}
-check() {
+check_() {
# Before 4.2.0, only 8 unit tests would fail under devtools, because mlock() is not available under systemd-nspawn
# See https://jira.mongodb.org/browse/SERVER-32773
# 4.2.0 uses mlock() in many more places. At first attempt, I had 24 tests pass, and 345 skipped due to the failing test.
@@ -116,7 +116,7 @@ check() {
package() {
cd "${srcdir}/${pkgname}-src-r${pkgver}"
- scons install --prefix="${pkgdir}/usr" "${_scons_args[@]}"
+ scons install-core "${_scons_args[@]}" PREFIX=/usr DESTDIR="$pkgdir"
# Keep historical Arch conf file name
install -Dm644 "rpm/mongod.conf" "${pkgdir}/etc/${pkgname}.conf"
@@ -134,5 +134,5 @@ package() {
install -Dm644 LICENSE-Community.txt "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE-Community.txt"
# This script won't run on Arch. If needed, see AUR package mongodb-compass.
- rm "${pkgdir}/usr/bin/install_compass"
+# rm "${pkgdir}/usr/bin/install_compass"
}
Offline
Thank you. I will try that now.
Offline