diff options
Diffstat (limited to 'community/lat/PKGBUILD')
-rwxr-xr-x | community/lat/PKGBUILD | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/community/lat/PKGBUILD b/community/lat/PKGBUILD new file mode 100755 index 000000000..7093e048d --- /dev/null +++ b/community/lat/PKGBUILD @@ -0,0 +1,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') +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 +} |