diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-12 15:07:32 +0000 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2013-09-12 15:08:22 +0000 |
commit | 6d92032ebe03f60accf1f402af18ba2ef6fbfda3 (patch) | |
tree | ecda299ac6c6f6b15ef589531178a4fb6f5fdec7 /main/ruby-redmine-rdoc | |
parent | c105365765402a5896281ae84233c76ada36457b (diff) | |
download | aports-6d92032ebe03f60accf1f402af18ba2ef6fbfda3.tar.bz2 aports-6d92032ebe03f60accf1f402af18ba2ef6fbfda3.tar.xz |
main/ruby-redmine-rdoc: new aport
Diffstat (limited to 'main/ruby-redmine-rdoc')
-rw-r--r-- | main/ruby-redmine-rdoc/APKBUILD | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/main/ruby-redmine-rdoc/APKBUILD b/main/ruby-redmine-rdoc/APKBUILD new file mode 100644 index 0000000000..076282433d --- /dev/null +++ b/main/ruby-redmine-rdoc/APKBUILD @@ -0,0 +1,39 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=ruby-redmine-rdoc +_gemname=rdoc +pkgver=3.12.2 +pkgrel=0 +pkgdesc="Produces HTML and command-line documentation for Ruby projects." +url="http://rubygems.org/gems/rdoc" +arch="noarch" +license="GPL" +depends="ruby ruby-json" +depends_dev= +makedepends="$depends_dev ruby-gems" +install="" +subpackages="" +source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem" + +_builddir="$srcdir"/$_realname-$pkgver + +build() { + return 0 +} + +package() { + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + local _geminstdir=$_gemdir/gems/$_gemname-$pkgver + mkdir -p "$pkgdir" || return 1 + + gem install --local --install-dir "$pkgdir"/$_gemdir \ + --ignore-dependencies --verbose --no-rdoc --no-ri \ + "$srcdir"/$_gemname-$pkgver.gem || return 1 + rm -rf "$pkgdir"/$_gemdir/cache \ + "$pkgdir"/$_geminstdir/ext \ + "$pkgdir"/$_geminstdir/.require_paths +} + +md5sums="5981db027e986779a0bcd201a7d6fba7 rdoc-3.12.2.gem" +sha256sums="a8e2b78f7e5ec4cc4716cd863975645f2f2377dc6db267a15e427e5fae2633ed rdoc-3.12.2.gem" +sha512sums="c0cc99d3ee75bf5ec5bf73a3f89b43ed3915a80b12a6128b0e106c50e93b0b33db6bcd9812b9e2a241978c3a46cc2f05c5b1d9346c321823fc333d53c8d1296c rdoc-3.12.2.gem" |