diff options
author | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-25 02:05:15 +0100 |
---|---|---|
committer | Jakub Jirutka <jakub@jirutka.cz> | 2017-12-25 02:07:48 +0100 |
commit | fd2ca90fc4b17da31d283a0835e276b478d911ce (patch) | |
tree | 33631e118eb92aedecc9cb2307b5776fb9915efa /main/ruby-bundler | |
parent | 7b20df8979c25f3e1640dd569b29967b531ca1fb (diff) | |
download | aports-fd2ca90fc4b17da31d283a0835e276b478d911ce.tar.bz2 aports-fd2ca90fc4b17da31d283a0835e276b478d911ce.tar.xz |
main/ruby-bundler: move man pages to -doc subpkg
Diffstat (limited to 'main/ruby-bundler')
-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 |