aboutsummaryrefslogtreecommitdiffstats
path: root/main/ruby-loofah
diff options
context:
space:
mode:
authorKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-26 10:10:32 +0200
committerKaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>2014-12-26 11:18:11 +0200
commit7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879 (patch)
tree7778db110dfe49f84723d4bdff374a649c0a3d9c /main/ruby-loofah
parent3d0e8152811d813dd751ab8d55231b00f32beedd (diff)
downloadaports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.bz2
aports-7ca30c3cdf5ab3e6f0c8ccc504d6fd388640b879.tar.xz
main/ruby-rails: upgrade to 4.2.0
Diffstat (limited to 'main/ruby-loofah')
-rw-r--r--main/ruby-loofah/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/main/ruby-loofah/APKBUILD b/main/ruby-loofah/APKBUILD
new file mode 100644
index 0000000000..c09a973949
--- /dev/null
+++ b/main/ruby-loofah/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=loofah
+pkgname=ruby-$_gemname
+pkgver=2.0.1
+pkgrel=0
+pkgdesc="Declare job classes that can be run by a variety of queueing backends"
+url=http://rubygems.org/gems/$_gemname
+arch=noarch
+license=MIT
+depends="ruby ruby-nokogiri"
+depends_dev=
+makedepends="$depends_dev ruby"
+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="73b240863742ebe1d7f785e192e9b231 loofah-2.0.1.gem"
+sha256sums="e47f811395f87885374e780e64034a7263b52d5308352e32851ccd0c1bd7c66c loofah-2.0.1.gem"
+sha512sums="6bed99fced69538aa64c6ef67878420ef88d427c7cf6e74599f33ff9cfc9fcd6e9450de30a922d54bdead4851a39ec0b4bd58e58ab5ed1ef89610151c7f9270f loofah-2.0.1.gem"