aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2017-12-25 02:07:06 +0100
committerJakub Jirutka <jakub@jirutka.cz>2017-12-25 02:07:49 +0100
commitbd7684418a21e95fc00a03e73dc774eb77501831 (patch)
treede1392a08d0d5a658224088ba7f01034cb67cf8f
parentfd2ca90fc4b17da31d283a0835e276b478d911ce (diff)
downloadaports-bd7684418a21e95fc00a03e73dc774eb77501831.tar.bz2
aports-bd7684418a21e95fc00a03e73dc774eb77501831.tar.xz
main/ruby-bundler: install with --bindir
-rw-r--r--main/ruby-bundler/APKBUILD10
1 files changed, 1 insertions, 9 deletions
diff --git a/main/ruby-bundler/APKBUILD b/main/ruby-bundler/APKBUILD
index 51cac39e06..baefc64625 100644
--- a/main/ruby-bundler/APKBUILD
+++ b/main/ruby-bundler/APKBUILD
@@ -15,10 +15,9 @@ builddir="$srcdir/$_gemname-$pkgver"
package() {
local gemdir="$pkgdir/$(ruby -rubygems -e 'puts Gem.default_dir')"
- mkdir -p "$pkgdir"/usr/bin
-
gem install --local \
--install-dir "$gemdir" \
+ --bindir "$pkgdir/usr/bin" \
--ignore-dependencies \
--no-document \
--verbose \
@@ -33,13 +32,6 @@ package() {
"$gemdir"/build_info \
"$gemdir"/doc \
"$gemdir"/gems/$_gemname-$pkgver/man
-
- cd "$pkgdir"
- local path; for path in usr/lib/ruby/gems/*/bin/*; do
- if [ -f "$path" ]; then
- ln -s /$path "$pkgdir"/usr/bin/
- fi
- done
}
sha512sums="2cca87aa17b61df98ef98a648a7d7cfe0529015f1278e8cb2298bb12544157933d723bd666d945bcdbaceacbf97a092a3848e2a587bd01cffa73c662d37d4834 bundler-1.16.1.gem"