updated on Sat Jan 14 12:12:45 UTC 2012
[aur-mirror.git] / ruby-ldap / PKGBUILD
blob82ca1f411e6dd0aa5c8fade26befa78e829c9191
1 # Contributor: Baptiste Grenier <baptiste@bapt.name>
2 pkgname=ruby-ldap
3 pkgver=0.9.10
4 pkgrel=1
5 pkgdesc="Extension module for Ruby providing an interface to some common LDAP libraries."
6 arch=('i686' 'x86_64')
7 url="http://ruby-ldap.rubyforge.org/"
8 license=('BSD')
9 depends=('ruby' 'libldap')
10 source=("http://rubyforge.org/frs/download.php/68853/${pkgname}-${pkgver}.tar.bz2")
11 md5sums=('f1683efd0025e7e79c0f2d978661310b')
13 build() {
14   cd "${startdir}/src/${pkgname}-${pkgver}"
15   ruby extconf.rb --with-openldap2 || return 1
16   make prefix=${startdir}/pkg/usr install
17   install -D -m644 ${startdir}/src/${pkgname}-${pkgver}/COPYING ${startdir}/pkg/usr/share/licenses/${pkgname}/COPYING
20 # vim:set ts=2 sw=2 et: