PKGBUILDs/community/hula/PKGBUILD
2009-10-09 21:15:33 -05:00

38 lines
1.1 KiB
Bash

# $Id: PKGBUILD 2654 2009-09-19 18:43:48Z foutrelis $
# Maintainer: William Rea <sillywilly@gmail.com>
# Contributor: Benjamin Andresen <benny@klapmuetz.org>
# Contributor: eliott <eliott@cactuswax.net>
pkgname=hula
pkgver=r2661
pkgrel=2
pkgdesc="A calendar and mail server"
arch=('i686' 'x86_64')
url="http://developer.novell.com/wiki/index.php/Hula"
options=('!libtool')
depends=('popt' 'libldap' 'mono' 'perl')
install=$pkgname.install
license=('GPL')
source=(http://archlinux-stuff.googlecode.com/files/hula-$pkgver.tar.gz \
hula-script \
build-fix.patch)
md5sums=('4a50509873ea6bfdeb8daf7540d15d85'
'6cad58336400ee5d157a1ee4ae150bfd'
'004c478d9ea9b781b84f67c68f7d89d2')
build() {
export MONO_SHARED_DIR=$startdir/src/.wabi
mkdir -p $MONO_SHARED_DIR
cd $startdir/src/$pkgname
sed -i '/CONNECTION_TIMEOUT/s/$/ \n#define VERBOSE_SPAMASSASSIN/' src/agents/antispam/antispam.h
patch -p1 <$srcdir/build-fix.patch
./autogen.sh --prefix=/usr
make || return 1
make DESTDIR=$startdir/pkg install || return 1
install -D -m755 ../../hula-script $startdir/pkg/etc/rc.d/hula
rm -r $MONO_SHARED_DIR
}