public
Created

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
# Maintainer: Aravind Gottipati <aravind@freeshell.org>
 
pkgname=ruby-net-ldap
_pkgname='net-ldap'
pkgver=0.3.1
pkgrel=1
pkgdesc='implements client access for the Lightweight Directory Access Protocol (LDAP) for Ruby'
arch=('any')
url="http://rubyldap.com"
license=('MIT')
depends=('ruby')
makedepends=('rubygems')
source=(http://rubygems.org/downloads/${_pkgname}-${pkgver}.gem)
noextract=(${_pkgname}-${pkgver}.gem)
md5sums=('96c39c91619446256936b3c81b554c93')
 
build() {
cd "${srcdir}"
export HOME=/tmp
local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" ${_pkgname}-${pkgver}.gem
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.