summaryrefslogtreecommitdiff
path: root/community/lat/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-05 14:26:38 +0000
commit415856bdd4f48ab4f2732996f0bae58595092bbe (patch)
treeede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/lat/PKGBUILD
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/lat/PKGBUILD')
-rwxr-xr-xcommunity/lat/PKGBUILD33
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
+}