aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-file-tail/APKBUILD
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-04 14:39:12 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 14:07:23 +0000
commitad48b5772db9a912ff04c06ee1f63d1d5a53f2ae (patch)
tree650441221b8de9422bb44479982f4d46a7d7f2d4 /testing/ruby-file-tail/APKBUILD
parentbf96e8cf018ef9a56652f2412b14263f70fae992 (diff)
downloadaports-ad48b5772db9a912ff04c06ee1f63d1d5a53f2ae.tar.bz2
aports-ad48b5772db9a912ff04c06ee1f63d1d5a53f2ae.tar.xz
testing/ruby-file-tail: upgrade to 1.0.12 (ruby-tins is now a dep)
Diffstat (limited to 'testing/ruby-file-tail/APKBUILD')
-rw-r--r--testing/ruby-file-tail/APKBUILD36
1 files changed, 23 insertions, 13 deletions
diff --git a/testing/ruby-file-tail/APKBUILD b/testing/ruby-file-tail/APKBUILD
index 300be82751..0089b56528 100644
--- a/testing/ruby-file-tail/APKBUILD
+++ b/testing/ruby-file-tail/APKBUILD
@@ -1,30 +1,40 @@
# Contributor: Matt Smith <mcs@darkregion.net>
-# Maintainer: Matt Smith <mcs@darkregion.net>
-pkgname=ruby-file-tail
-_realname=file-tail
-pkgver=1.0.5
+# Maintainer: Matt Smith <mcs@darkregion.net>
+_gemname=file-tail
+pkgname=ruby-$_gemname
+pkgver=1.0.12
pkgrel=0
pkgdesc="Small library that allows Ruby to tail files."
url="http://flori.github.com/file-tail/"
arch="noarch"
-license="GPL"
-depends="ruby"
-depends_dev=
-makedepends="$depends_dev ruby-dev ruby rubygems"
+license="GPL2"
+depends="ruby ruby-tins"
+depends_dev=""
+makedepends="ruby-dev ruby-gems"
install=""
subpackages=""
-source=""
+source="http://rubygems.org/downloads/$_gemname-$pkgver.gem"
-_builddir="$srcdir"/$_realname-$pkgver
+_builddir="$srcdir"/$_gemname-$pkgver
build() {
mkdir -p "$_builddir" || return 1
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install $_realname -v $pkgver -i "$_builddir"$_gemdir \
- --ignore-dependencies || return 1
- rm -rf "$_builddir"$_gemdir/cache/
+ 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
}
package() {
mkdir -p "$pkgdir" || return 1
cp -ra "$_builddir"/* "$pkgdir"/ || return 1
}
+
+md5sums="409f4b5868a747e8f89939eaf9970e81 file-tail-1.0.5.gem"
+sha256sums="6f9d986cb58e33ba31911dbc41d5e4baaf31552e9579fe9ed3f39beeafa8a86b file-tail-1.0.5.gem"
+sha512sums="5fd42996d9856673960a3f927d6185d732f4d05948e7ef0cba10e986e2e53acc0ae74520994634cab549a2ad9e12f1f7a66b7fc7864e3ac73c7e3c7a6bf806ba file-tail-1.0.5.gem"