diff options
author | Johannes Dewender | 2017-05-21 19:30:03 +0200 |
---|---|---|
committer | Johannes Dewender | 2017-05-21 19:30:33 +0200 |
commit | f2e5da77c54ac7e424a66e65682fc3f1e5c864a9 (patch) | |
tree | 693559e129b8390629e9502ed2128e68b08c70bf | |
parent | 6137cc8c6bacb39efd673a81190565c420460467 (diff) | |
download | aur-f2e5da77c54ac7e424a66e65682fc3f1e5c864a9.tar.gz |
don't conflict with regular elasticdump
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 |
2 files changed, 7 insertions, 3 deletions
@@ -1,9 +1,9 @@ # Generated by mksrcinfo v8 -# Sun May 21 15:44:41 UTC 2017 +# Sun May 21 17:30:23 UTC 2017 pkgbase = elasticdump2 pkgdesc = Import and export tools for Elasticsearch < 5 pkgver = 2.4.0 - pkgrel = 1 + pkgrel = 2 url = https://www.npmjs.com/package/elasticdump arch = any license = Apache @@ -4,7 +4,7 @@ pkgname=elasticdump2 _pkgname=elasticdump pkgver=2.4.0 -pkgrel=1 +pkgrel=2 pkgdesc="Import and export tools for Elasticsearch < 5" arch=(any) url="https://www.npmjs.com/package/elasticdump" @@ -18,4 +18,8 @@ noextract=("$_pkgname-$pkgver.tgz") package() { npm install -g --user root --prefix "$pkgdir/usr" "$srcdir/$_pkgname-$pkgver.tgz" rm -r "$pkgdir/usr/etc" + + mv "$pkgdir/usr/lib/node_modules/$_pkgname" "$pkgdir/usr/lib/node_modules/$pkgname" + mv "$pkgdir/usr/bin/$_pkgname" "$pkgdir/usr/bin/$pkgname" + mv "$pkgdir/usr/bin/multi$_pkgname" "$pkgdir/usr/bin/multi$pkgname" } |