diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-02-28 11:11:22 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-02-28 11:13:23 +0000 |
commit | e35c6a193564928cbc3795a8428655234fa58b12 (patch) | |
tree | ba0d57419b0c344e8a78867af60e13c201a82672 /community | |
parent | 455fe1fd33e702cba20243a3631651e47848e2e9 (diff) | |
download | aports-e35c6a193564928cbc3795a8428655234fa58b12.tar.bz2 aports-e35c6a193564928cbc3795a8428655234fa58b12.tar.xz |
community/mongodb-tools: mongooplog seems no longer there
Modernize APKBUILD
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 |