aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-yard/APKBUILD
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2015-03-26 15:45:11 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2015-03-26 15:45:11 +0000
commitbfab4d712d731f5d907a86df7c18354605c047e7 (patch)
treed0bbef24a88150aa4e37ab15c6e859661a5d4676 /testing/ruby-yard/APKBUILD
parent83223b5606f458c01b3481d956aebaea6c213b3b (diff)
downloadaports-bfab4d712d731f5d907a86df7c18354605c047e7.tar.bz2
aports-bfab4d712d731f5d907a86df7c18354605c047e7.tar.xz
main/ruby-yard: move from testing
Diffstat (limited to 'testing/ruby-yard/APKBUILD')
-rw-r--r--testing/ruby-yard/APKBUILD48
1 files changed, 0 insertions, 48 deletions
diff --git a/testing/ruby-yard/APKBUILD b/testing/ruby-yard/APKBUILD
deleted file mode 100644
index 4dae4b812f..0000000000
--- a/testing/ruby-yard/APKBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# Contributor: Carlo Landmeter <clandmeter@gmail.com>
-# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
-_gemname=yard
-pkgname=ruby-yard
-pkgver=0.8.7.6
-pkgrel=0
-pkgdesc="A documentation generation tool for Ruby"
-url="http://yardoc.org"
-arch="noarch"
-license="MIT"
-depends="ruby"
-depends_dev=""
-makedepends="ruby-dev"
-install=""
-subpackages=""
-source="http://rubygems.org/downloads/$_gemname-$pkgver.gem"
-
-_builddir="$srcdir"/$_gemname-$pkgver
-build() {
- mkdir -p "$_builddir" || return 1
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \
- --ignore-dependencies \
- --verbose \
- --no-rdoc \
- --no-ri \
- || return 1
- rm -rf "$pkgdir"/$_gemdir/cache \
- "$pkgdir"/$_geminstdir/ext \
- "$pkgdir"/$_geminstdir/.require_paths
-
- cd "$pkgdir"
- for i in usr/lib/ruby/gems/*/bin/*; do
- if [ -e "$i" ]; then
- mkdir -p "$pkgdir"/usr/bin
- ln -s /$i "$pkgdir"/usr/bin/
- fi
- done
-}
-
-package() {
- mkdir -p "$pkgdir" || return 1
- cp -ra "$_builddir"/* "$pkgdir"/ || return 1
-}
-
-md5sums="55559a424c6bc58cba9a8affdbc86dc9 yard-0.8.7.6.gem"
-sha256sums="3da10884b94fa25b7476f619b1d2cfb61290e10673965c545975630cd88a46b6 yard-0.8.7.6.gem"
-sha512sums="678d0831bfcb08de413b8c776e6916d4314fd6f487e3b8bb2683f328eacc99d4251e6ca204ff6044cb542dee909e321cc552257b044eb8035102a28d83512080 yard-0.8.7.6.gem"