summaryrefslogtreecommitdiff
path: root/community/lat/PKGBUILD
blob: 351ca06e83b5499d44e43f053ec73e2f0a7bc645 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# $Id: PKGBUILD 5402 2009-11-08 07:59:58Z ebelanger $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: William Rea <sillywilly@gmail.com>

pkgname=lat
pkgver=1.2.3
pkgrel=2
pkgdesc="LDAP Administration Tool"
arch=('i686' 'x86_64' 'mips64el')
url="http://sourceforge.net/projects/ldap-at/"
license=("GPL")
depends=('gnome-keyring' 'gtk-sharp-2' 'avahi' 'gnome-sharp' 'rarian')
makedepends=('gettext' 'intltool' 'pkgconfig')
install=$pkgname.install
source=(http://downloads.sourceforge.net/ldap-at/lat-$pkgver.tar.gz)
md5sums=('0725508d180720d260a70c5b39d387ba')
sha1sums=('52e2de528d2fa35519b2d67cd2937d4d524001de')

build() {
  export MONO_SHARED_DIR="$srcdir/.wabi"
  mkdir -p $MONO_SHARED_DIR
  cd "$srcdir/lat-$pkgver"
  find . -name Makefile.in -exec sed -i -e 's/-scrollkeeper-update.*//' {} \;
  if [ -f omf.make ]; then
    sed -i -e 's/-scrollkeeper-update.*//' omf.make
  fi

  ./configure --prefix=/usr --enable-avahi=yes || return 1
  make || return 1
  make DESTDIR="$pkgdir" install || return 1

  rm -rf $MONO_SHARED_DIR
}