makedeb
MongoDB Shell is the quickest way to connect to (and work with) MongoDB
Click here to go back to the commit logs for mongosh-bin.
Hash: f5d373ac275368d40efcf65ef79873d5f2e48473
Message: Fix packaging
diff --git a/.SRCINFO b/.SRCINFO
index 71ae51f..69f5d55 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,12 @@
generated-by = makedeb
pkgname = mongosh-bin
-changelog =
epoch = 1
-install =
pkgbase = mongosh-bin
pkgdesc = MongoDB Shell is the quickest way to connect to (and work with) MongoDB
-pkgrel = 2
+pkgrel = 3
pkgver = 1.6.0
url = https://www.mongodb.com/try/download/shell
arch = amd64
license = Apache
-source = https://downloads.mongodb.com/compass/mongosh-bin-1.6.0-linux-x64.tgz
+source = https://downloads.mongodb.com/compass/mongosh-1.6.0-linux-x64.tgz
md5sums = 061504122622c9495b590642a2235724
diff --git a/PKGBUILD b/PKGBUILD
index 68c1bcd..dd3afcd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,40 +1,23 @@
# Maintainer: Jonathan Apodaca <jrapodaca@gmail.com>
# https://downloads.mongodb.com/compass/mongosh-1.6.0-linux-x64.tgz
+
pkgname=mongosh-bin
pkgver=1.6.0
-pkgrel=2
+pkgrel=3
epoch=1
pkgdesc="MongoDB Shell is the quickest way to connect to (and work with) MongoDB"
arch=(amd64)
url="https://www.mongodb.com/try/download/shell"
license=('Apache')
-groups=()
-depends=()
-makedepends=()
-checkdepends=()
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-changelog=
source=(
- "https://downloads.mongodb.com/compass/$pkgname-$pkgver-linux-x64.tgz"
+ "https://downloads.mongodb.com/compass/mongosh-$pkgver-linux-x64.tgz"
)
-noextract=()
md5sums=(
"061504122622c9495b590642a2235724"
)
-validpgpkeys=()
-
-prepare() {
- tar -xf "$pkgname-$pkgver-linux-x64.tgz"
-}
package() {
- cd "$pkgname-$pkgver-linux-x64"
+ cd "mongosh-$pkgver-linux-x64"
install -D bin/mongosh "$pkgdir/usr/bin/mongosh"
install -D bin/mongosh_crypt_v1.so "$pkgdir/usr/lib64/mongosh_crypt_v1.so"