diff options
Diffstat (limited to 'community')
-rw-r--r-- | community/mongodb-tools/APKBUILD | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/community/mongodb-tools/APKBUILD b/community/mongodb-tools/APKBUILD index 543faa1152..9809179b5d 100644 --- a/community/mongodb-tools/APKBUILD +++ b/community/mongodb-tools/APKBUILD @@ -2,7 +2,7 @@ # Maintainer: Marc Vertes <marc.vertes@ugrid.net> pkgname=mongodb-tools pkgver=3.6.3 -pkgrel=0 +pkgrel=1 pkgdesc="The MongoDB tools provide import, export, and diagnostic capabilities." url="https://github.com/mongodb/mongo-tools" arch="all !s390x !aarch64" @@ -13,14 +13,8 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/mongodb/mongo-tools/archive/ fix-build.patch libressl.patch " - builddir="$srcdir"/mongo-tools-r$pkgver -prepare() { - cd "$builddir" - default_prepare -} - build() { cd "$builddir" ./build.sh sasl ssl @@ -29,8 +23,10 @@ build() { package() { cd "$builddir/bin" local bindir="$pkgdir/usr/bin" - mkdir -p "$bindir" || return 1 - cp bsondump mongostat mongofiles mongoexport mongoimport mongorestore mongodump mongotop mongooplog mongoreplay "$bindir" || return 1 + mkdir -p "$bindir" + cp bsondump mongostat mongofiles mongoexport mongoimport \ + mongorestore mongodump mongotop mongoreplay \ + "$bindir" } sha512sums="7dba782c84a728aa9ceb28cbd9934f58b615dccfb238a9dbd63b18661ba4e74ddba21f93d9f12e6d80d293ebe42a82d31fa64448aacdba75bd07d964a5f631fc mongodb-tools-3.6.3.tar.gz |