diff options
Diffstat (limited to 'main/ruby-bundler/APKBUILD')
-rw-r--r-- | main/ruby-bundler/APKBUILD | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/main/ruby-bundler/APKBUILD b/main/ruby-bundler/APKBUILD index 0d3e63e21d..51cac39e06 100644 --- a/main/ruby-bundler/APKBUILD +++ b/main/ruby-bundler/APKBUILD @@ -8,6 +8,7 @@ url="https://bundler.io/" arch="noarch" license="MIT" depends="ruby ruby-io-console" +subpackages="$pkgname-doc" source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" builddir="$srcdir/$_gemname-$pkgver" @@ -23,9 +24,15 @@ package() { --verbose \ "$srcdir"/$_gemname-$pkgver.gem + local n; for n in 1 5; do + mkdir -p "$pkgdir"/usr/share/man/man$n + mv "$gemdir"/gems/$_gemname-$pkgver/man/*.$n "$pkgdir"/usr/share/man/man$n/ + done + rm -rf "$gemdir"/cache \ "$gemdir"/build_info \ - "$gemdir"/doc + "$gemdir"/doc \ + "$gemdir"/gems/$_gemname-$pkgver/man cd "$pkgdir" local path; for path in usr/lib/ruby/gems/*/bin/*; do |