aboutsummaryrefslogtreecommitdiffstats
path: root/community/ruby-loofah
diff options
context:
space:
mode:
authorSören Tempel <soeren+git@soeren-tempel.net>2016-03-20 02:13:26 +0100
committerSören Tempel <soeren+git@soeren-tempel.net>2016-03-20 02:16:46 +0100
commit48f95d2a300710ec36d2a7e522e660f295567287 (patch)
treebf0ef118ff49758af9a2e4ab584e36bea3594adc /community/ruby-loofah
parent6030f8b148614a039807e4cf41b2b718bf744373 (diff)
downloadaports-48f95d2a300710ec36d2a7e522e660f295567287.tar.bz2
aports-48f95d2a300710ec36d2a7e522e660f295567287.tar.xz
community/ruby-loofah: moved from main
This depends on ruby-nokogiri which is only available in community. Packages from main can't depend on packages from community. See also: ea6a7e16ad7be1532875bd821e60857f33905d66
Diffstat (limited to 'community/ruby-loofah')
-rw-r--r--community/ruby-loofah/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/ruby-loofah/APKBUILD b/community/ruby-loofah/APKBUILD
new file mode 100644
index 0000000000..7e2128167c
--- /dev/null
+++ b/community/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.2
+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="88a4da54c5a88641b6f2f691524527fa loofah-2.0.2.gem"
+sha256sums="1ab5fb9a1dca7b955e75d582f57d236de46430ab5c5b5a33987c04d3ec93ccc7 loofah-2.0.2.gem"
+sha512sums="f61b853847bd0dfecada1d8eb4f0ab1b179c804f0ac7c74f927a8275f6d1e9fb35456abdaa0ca3f81d8281f31c77088757fe2f994332ce0a742bb89fb1d2986c loofah-2.0.2.gem"