diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 08:06:55 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2016-04-29 12:36:41 +0000 |
commit | f58e361776f7398d806321ea9d63f59f5fc38b5d (patch) | |
tree | eea648afb288a35c5b1e2bffb3d3b4442578b08b /unmaintained/ruby-net-ldap | |
parent | b951abfe754edd478b0a17f12cad5fb56e42eee1 (diff) | |
download | aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.bz2 aports-f58e361776f7398d806321ea9d63f59f5fc38b5d.tar.xz |
move community/ruby-* to unmaintained
Diffstat (limited to 'unmaintained/ruby-net-ldap')
-rw-r--r-- | unmaintained/ruby-net-ldap/APKBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/unmaintained/ruby-net-ldap/APKBUILD b/unmaintained/ruby-net-ldap/APKBUILD new file mode 100644 index 0000000000..a33644ad52 --- /dev/null +++ b/unmaintained/ruby-net-ldap/APKBUILD @@ -0,0 +1,37 @@ +# Contributor: Carlo Landmeter <clandmeter@gmail.com> +# Maintainer: Natanael Copa <ncopa@alpinelinux.org> +_gemname=net-ldap +pkgname=ruby-net-ldap +pkgver=0.12.1 +pkgrel=0 +pkgdesc="Ruby ldap client" +url="http://rubyldap.com/" +arch="noarch" +license="MIT" +depends="ruby" +depends_dev= +makedepends="$depends_dev ruby" +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="3e15c0180861ed9b9567f5ac919d4bf8 net-ldap-0.12.1.gem" +sha256sums="864ce59bc51ab5a83a344a477a07def3b9691dd8a2b11f52dca3af45e707327c net-ldap-0.12.1.gem" +sha512sums="013a66a0fa7e6027c5f31776d136294161936ae7dc2ec86a5342a2a2d575e5764ab06e11a7532c56e5c4ce95ab91a2ab4cc8628e6f1fcc879b9282c08142c31a net-ldap-0.12.1.gem" |