aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/ruby-isbn
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-isbn
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-isbn')
-rw-r--r--unmaintained/ruby-isbn/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/unmaintained/ruby-isbn/APKBUILD b/unmaintained/ruby-isbn/APKBUILD
new file mode 100644
index 0000000000..833c4c922b
--- /dev/null
+++ b/unmaintained/ruby-isbn/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
+# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
+_gemname=isbn
+pkgname=ruby-$_gemname
+pkgver=2.0.9
+pkgrel=1
+pkgdesc="A library to transform ISBN's from new to used"
+url="http://rubygems.org/gems/isbn"
+arch="noarch"
+license="MIT"
+depends="ruby"
+depends_dev="ruby-dev"
+makedepends="$depends_dev"
+install=""
+subpackages=""
+source="http://gems.rubyforge.org/gems/$_gemname-$pkgver.gem"
+
+_builddir="$srcdir"/$_gemname-$pkgver
+build() {
+ mkdir -p "$_builddir" || return 1
+ local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
+ gem install $_gemname -v $pkgver -i "$_builddir"$_gemdir \
+ --ignore-dependencies \
+ --verbose \
+ --no-rdoc \
+ --no-ri \
+ || return 1
+ rm -rf "$pkgdir"/$_gemdir/cache \
+ "$pkgdir"/$_geminstdir/ext \
+ "$pkgdir"/$_geminstdir/.require_paths
+}
+
+package() {
+ mkdir -p "$pkgdir" || return 1
+ cp -ra "$_builddir"/* "$pkgdir"/ || return 1
+}
+
+md5sums="5901fadabb0f742f75e77fad0e31f28c isbn-2.0.9.gem"
+sha256sums="f645884282f3a6e5d074b950dfa4bae0e336af570a70ef7017f561ba7e230b48 isbn-2.0.9.gem"
+sha512sums="3960c53a764e03d73e3c3574c4a5933e346ef2ea0516448489e5ddeed0f6a13443e31a256474f960a11f2fb1d692cf62bc65c6c99465cc2f1d16f39e5bf156f4 isbn-2.0.9.gem"