diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:11:47 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | 80acbaee801184140fac0c967cbb8aa051db2b06 (patch) | |
tree | 77c8128eadea951dd93cce5ba6632c5ddc120426 /unmaintained/ruby-domain_name | |
parent | 5db5ee5c13e577e862e822501b2e4863fbd63195 (diff) | |
download | aports-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-domain_name')
-rw-r--r-- | unmaintained/ruby-domain_name/APKBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/unmaintained/ruby-domain_name/APKBUILD b/unmaintained/ruby-domain_name/APKBUILD new file mode 100644 index 0000000000..e8c076a18b --- /dev/null +++ b/unmaintained/ruby-domain_name/APKBUILD @@ -0,0 +1,38 @@ +# Contributor: Francesco Colista <fcolista@alpinelinux.org> +# Maintainer: Francesco Colista <fcolista@alpinelinux.org> + +_gemname=domain_name +pkgname=ruby-$_gemname +pkgver=0.5.24 +pkgrel=0 +pkgdesc="Domain Name manipulation library for Ruby" +arch="noarch" +url="https://github.com/knu/ruby-domain_name" +license="'BSD + MPL 1.1/GPL 2.0/LGPL 2.1'" +depends="ruby ruby-unf" +source="https://rubygems.org/downloads/$_gemname-$pkgver.gem" +_builddir="$srcdir"/$_gemname-$pkgver + +build() { + mkdir -p "$_builddir" || return 1 + export _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 + install -D -m644 "$pkgdir/$_gemdir/gems/$_gemname-$pkgver/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" +} + +md5sums="e0dd8cf5599148233aebf08869328df2 domain_name-0.5.24.gem" +sha256sums="8cbd6aea8859823f89aefeec49232e9d4377456fd42d08accfbc0cc6b32a55f6 domain_name-0.5.24.gem" +sha512sums="46caf0be89c3b2f38f79180c14f4eaa1096f12f80feb881dafb394033d2c6118f481c898310d281d15acd5b9a54473c9d9ee8f0e77dda5b03c40a0d6f137f602 domain_name-0.5.24.gem" |