aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-xml-simple
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-xml-simple
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-xml-simple')
-rw-r--r--unmaintained/ruby-xml-simple/APKBUILD39
1 files changed, 39 insertions, 0 deletions
diff --git a/unmaintained/ruby-xml-simple/APKBUILD b/unmaintained/ruby-xml-simple/APKBUILD
new file mode 100644
index 0000000000..e071e5cd4d
--- /dev/null
+++ b/unmaintained/ruby-xml-simple/APKBUILD
@@ -0,0 +1,39 @@
+# Contributor: Carlo Landmeter <clandmeter@gmail.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+_gemname=xml-simple
+pkgname=ruby-$_gemname
+pkgver=1.1.2
+pkgrel=1
+pkgdesc="A simple API for XML processing."
+url="https://rubygems.org/gems/$_gemname"
+arch="noarch"
+license="GPL"
+depends="ruby"
+depends_dev=""
+makedepends="$depends_dev"
+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="22a848ab8b47727997d0ef3b118f2c58 xml-simple-1.1.2.gem"
+sha256sums="ab35af3264c9c7e4090dc8302914eec4f7eac3fd526847d82d53d023e762285a xml-simple-1.1.2.gem"
+sha512sums="ad2bb25c8ca938d59529b0f510a68093e358f2b6e6871e0ed4452ef3e20c33656044ad9859b19fe403622f5f1ac0ac5a3ff4e6f2361273f907d69e5c64fb3cdd xml-simple-1.1.2.gem"