mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 10:20:12 +00:00
24 lines
473 B
Plaintext
Executable File
24 lines
473 B
Plaintext
Executable File
# description : Documentation tool for consistent and usable documentation in Ruby
|
|
# depends : ruby
|
|
|
|
_name=yard
|
|
name=ruby-$_name
|
|
version=0.9.34
|
|
release=1
|
|
options="!emptydirs"
|
|
source="https://rubygems.org/downloads/$_name-$version.gem"
|
|
|
|
build() {
|
|
_gemdir="$(gem env gemdir)"
|
|
|
|
gem install \
|
|
--ignore-dependencies \
|
|
--no-user-install \
|
|
--no-document \
|
|
-i "$PKG/$_gemdir" \
|
|
-n "$PKG"/usr/bin \
|
|
$_name-$version.gem
|
|
|
|
rm "$PKG/$_gemdir/cache/$_name-$version.gem"
|
|
}
|