aboutsummaryrefslogtreecommitdiffstats
path: root/testing/ruby-daemon-controller
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2013-03-08 22:27:37 +0000
committerFabian Affolter <fabian@affolter-engineering.ch>2013-03-11 14:07:27 +0000
commit9782b1c109ce9945fc31baa405eaecea8e95d7c8 (patch)
tree4307df8229afab895a1b5d3efa3e54e3260424ca /testing/ruby-daemon-controller
parent02f94170a19b6a538032ad0bf6ceeb078e4e6a61 (diff)
downloadaports-9782b1c109ce9945fc31baa405eaecea8e95d7c8.tar.bz2
aports-9782b1c109ce9945fc31baa405eaecea8e95d7c8.tar.xz
testing/ruby-daemon-controller: upgrade to 1.1.1
Diffstat (limited to 'testing/ruby-daemon-controller')
-rw-r--r--testing/ruby-daemon-controller/APKBUILD35
1 files changed, 22 insertions, 13 deletions
diff --git a/testing/ruby-daemon-controller/APKBUILD b/testing/ruby-daemon-controller/APKBUILD
index 9b1f8d6b76..7acd780215 100644
--- a/testing/ruby-daemon-controller/APKBUILD
+++ b/testing/ruby-daemon-controller/APKBUILD
@@ -1,30 +1,39 @@
# Contributor: Matt Smith <mcs@darkregion.net>
# Maintainer: Matt Smith <mcs@darkregion.net>
pkgname=ruby-daemon-controller
-_realname=daemon_controller
-pkgver=0.2.6
+_gemname=daemon_controller
+pkgver=1.1.1
pkgrel=0
pkgdesc="A library for robust daemon management."
url="http://rubygems.org/gems/daemon_controller"
arch="noarch"
license="MIT"
depends="ruby"
-depends_dev=
-makedepends="$depends_dev ruby-dev ruby rubygems"
+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/
+ 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
}
package() {
- mkdir -p "$pkgdir" || return 1
- cp -ra "$_builddir"/* "$pkgdir"/ || return 1
+ mkdir -p "$pkgdir" || return 1
+ cp -ra "$_builddir"/* "$pkgdir"/ || return 1
}
+md5sums="d0208bf1e929276dc14665b2cd435535 daemon_controller-1.1.1.gem"
+sha256sums="c82bab2e6b6f9443aca51f7f429ac3eb877442f9062da9b28b1a6b329e344ca5 daemon_controller-1.1.1.gem"
+sha512sums="fc87dd6deb7db955dc8e75899ea8282cf5755dc76b4139624c6fc8c5caf1b8d995c0e76b3b8222592c4331fa99da890f420a09419ef5c66a680d4dcab0d140fe daemon_controller-1.1.1.gem"