aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-mini_portile2
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-mini_portile2')
-rw-r--r--unmaintained/ruby-mini_portile2/APKBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/ruby-mini_portile2/APKBUILD b/unmaintained/ruby-mini_portile2/APKBUILD
new file mode 100644
index 0000000000..3b9849000e
--- /dev/null
+++ b/unmaintained/ruby-mini_portile2/APKBUILD
@@ -0,0 +1,37 @@
+# Contributor: Seung Soo Mun <hamletmun@gmail.com>
+# Maintainer: Kaarle Ritvanen <kaarle.ritvanen@datakunkku.fi>
+_gemname=mini_portile2
+pkgname=ruby-$_gemname
+pkgver=2.0.0
+pkgrel=0
+pkgdesc="Simplistic port-like solution for developers"
+url="http://rubygems.org/gems/$_gemname"
+arch="noarch"
+license="MIT"
+depends="ruby"
+depends_dev=""
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+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="e608463ac8081fe600f7bb6ea46c3e64 mini_portile2-2.0.0.gem"
+sha256sums="147d9f63e3dceb4da9e2036a93b9a6d45b12668c55abe0696f70925aeccacd14 mini_portile2-2.0.0.gem"
+sha512sums="70f4f6ee33b4d2265736a2bdfcb885dff59e967018450f7d3eb6b73aa983db7636036f8610a5734697d01db7db9173278063ae42942459eba460ad27252720ae mini_portile2-2.0.0.gem"