aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-daemon-controller
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2016-04-29 08:11:47 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2016-04-29 12:36:41 +0000
commit80acbaee801184140fac0c967cbb8aa051db2b06 (patch)
tree77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-daemon-controller
parent5db5ee5c13e577e862e822501b2e4863fbd63195 (diff)
downloadaports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.bz2
aports-80acbaee801184140fac0c967cbb8aa051db2b06.tar.xz
move testing/ruby-* to unmaintained
ruby-mime-types and ruby-nokogiri was there already so remove those
Diffstat (limited to 'unmaintained/ruby-daemon-controller')
-rw-r--r--unmaintained/ruby-daemon-controller/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-daemon-controller/APKBUILD b/unmaintained/ruby-daemon-controller/APKBUILD
new file mode 100644
index 0000000000..3be19edd0e
--- /dev/null
+++ b/unmaintained/ruby-daemon-controller/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Matt Smith <mcs@darkregion.net>
+# Maintainer: Matt Smith <mcs@darkregion.net>
+pkgname=ruby-daemon-controller
+_gemname=daemon_controller
+pkgver=1.1.5
+pkgrel=1
+pkgdesc="A library for robust daemon management."
+url="http://rubygems.org/gems/daemon_controller"
+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
+}
+
+package() {
+ mkdir -p "$pkgdir" || return 1
+ cp -ra "$_builddir"/* "$pkgdir"/ || return 1
+}
+md5sums="15ae8379911f815b2770d715dc0e7e25 daemon_controller-1.1.5.gem"
+sha256sums="5cb38c7aa8f054d403fb63038f189261e28d975d3433d6b1911099b0f611bfef daemon_controller-1.1.5.gem"
+sha512sums="89746156ef2efbdbb00ed34d22b44ff118805fc479a64668b87e1d1cdb03f709002df6e351a881d588c4254b715f842d61221ee2abd3b04521129420f204e7e0 daemon_controller-1.1.5.gem"