Initial commit

This commit is contained in:
2024-12-02 11:08:16 +00:00
commit 66161574a6
2 changed files with 47 additions and 0 deletions

18
.SRCINFO Normal file
View File

@@ -0,0 +1,18 @@
pkgbase = mongodb-tools-bin
pkgdesc = The MongoDB tools provide import, export, and diagnostic capabilities.
pkgver = 100.10.0
pkgrel = 3
url = https://github.com/mongodb/mongo-tools
arch = x86_64
arch = aarch64
license = Apache
depends = openssl
depends = krb5
provides = mongodb-tools=100.10.0
conflicts = mongodb-tools
source_x86_64 = mongodb-org-tools_100.10.0_x86_64.deb::https://repo.mongodb.org/apt/ubuntu/dists/noble/mongodb-org/8.0/multiverse/binary-amd64/mongodb-database-tools_100.10.0_amd64.deb
sha256sums_x86_64 = cfde5981270d982773b56975260918b929e9acef44861cb6c300422324aa3e75
source_aarch64 = mongodb-org-tools_100.10.0_aarch64.deb::https://repo.mongodb.org/apt/ubuntu/dists/noble/mongodb-org/8.0/multiverse/binary-arm64/mongodb-database-tools_100.10.0_arm64.deb
sha256sums_aarch64 = 59bbfb0c83668975085854c8830360032a40e18643b30e6ebe65ed457bf37dc3
pkgname = mongodb-tools-bin

29
PKGBUILD Normal file
View File

@@ -0,0 +1,29 @@
#Maintainer: Ali Molaei <ali dot molaei at protonmail dot com>
#Maintainer: Rafael Fontenelle <rafaeff at gnome dot org>
pkgname="mongodb-tools-bin"
pkgver="100.10.0"
_basever="8.0"
_basedist="noble"
pkgrel="3"
pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities."
arch=("x86_64" "aarch64")
url="https://github.com/mongodb/mongo-tools"
license=("Apache")
provides=("mongodb-tools=$pkgver")
conflicts=("mongodb-tools")
depends=("openssl" "krb5")
source_x86_64=(mongodb-org-tools_${pkgver}_x86_64.deb::"https://repo.mongodb.org/apt/ubuntu/dists/${_basedist}/mongodb-org/${_basever}/multiverse/binary-amd64/mongodb-database-tools_${pkgver}_amd64.deb")
source_aarch64=(mongodb-org-tools_${pkgver}_aarch64.deb::"https://repo.mongodb.org/apt/ubuntu/dists/${_basedist}/mongodb-org/${_basever}/multiverse/binary-arm64/mongodb-database-tools_${pkgver}_arm64.deb")
sha256sums_x86_64=('cfde5981270d982773b56975260918b929e9acef44861cb6c300422324aa3e75')
sha256sums_aarch64=('59bbfb0c83668975085854c8830360032a40e18643b30e6ebe65ed457bf37dc3')
prepare() {
mkdir -p output
tar xf data.tar.xz -C output
}
package() {
install -Dm755 output/usr/bin/* -t "$pkgdir/usr/bin"
}