aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-addressable/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/ruby-addressable/APKBUILD')
-rw-r--r--unmaintained/ruby-addressable/APKBUILD36
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/ruby-addressable/APKBUILD b/unmaintained/ruby-addressable/APKBUILD
new file mode 100644
index 0000000000..35ac4d8298
--- /dev/null
+++ b/unmaintained/ruby-addressable/APKBUILD
@@ -0,0 +1,36 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer:
+pkgname=ruby-addressable
+_gemname=addressable
+pkgver=2.4.0
+pkgrel=0
+pkgdesc="Addressable is a replacement for the URI implementation that is part of Ruby's standard library"
+url="http://addressable.rubyforge.org/"
+arch="noarch"
+license="APACHE-2.0"
+depends="ruby"
+depends_dev=""
+makedepends="$depends_dev ruby-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="2d340295a78606dcb68f93b7730e76d1 addressable-2.4.0.gem"
+sha256sums="7abfff765571b0a73549c9a9d2f7e143979cd0c252f7fa4c81e7102a973ef656 addressable-2.4.0.gem"
+sha512sums="b81fa48e7c4188827c03ac93960b6fd6fb9f5a438f5243cddea39d6820ef756ee7c0086ec330dc4a3538008b3b254757af7d30248624127649cc006a2793eda8 addressable-2.4.0.gem"