diff options
author | Alejandro Quisbert | 2021-07-17 19:59:27 +0200 |
---|---|---|
committer | Alejandro Quisbert | 2021-07-17 19:59:27 +0200 |
commit | 78ee294aee6f1ed487897c2920ec0f5753b31714 (patch) | |
tree | 7bb2a012dee76611fae5af436955fd8f1ebe1f89 /PKGBUILD | |
download | aur-78ee294aee6f1ed487897c2920ec0f5753b31714.tar.gz |
Base PKGBUILD created
Mongosh basic installation from tarball source with x86_64 architecture.
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..fc5543a0b6a7 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Alejandro Quisbert <alejandropqc@protonmail.com> + +pkgname=mongosh-bin +_pkgname=mongosh +pkgver=1.0.0 +pkgrel=1 +pkgdesc='An interactive shell to connect with MongoDB with syntax highlighting, autocomplete, contextual help and error messages.' +arch=('x86_64') +depends=('glibc') +makedepends=('tar') +url='https://github.com/mongodb-js/mongosh.git' +license=('Apache') +_mongosh_file=mongosh-${pkgver}-linux-x64 + +source=("https://downloads.mongodb.com/compass/${_pkgname}-${pkgver}-linux-x64.tgz") +sha256sums=('7d6ef14e8abdb22904fbb3aafa1bbcc8d3b71be48b6ba881d0cf36124c99f396') + + +package() { + + cd "${srcdir}" + tar -zxvf $_mongosh_file.tgz + install -D $_mongosh_file/bin/mongocryptd-mongosh "$pkgdir/usr/bin/mongocryptd-mongosh" + install -D $_mongosh_file/bin/mongosh "$pkgdir/usr/bin/mongosh" + +}
\ No newline at end of file |