# Maintainer: DJ Lucas # Contributor: Steven Hiscocks # Contributor: Andre Wayand pkgname=sope pkgver=3.1.4 pkgrel=1 pkgdesc="application server used by SOGo" arch=('i686' 'x86_64') url="http://www.sogo.nu/files/downloads/SOGo/Sources/" license=('GPL') depends=('gnustep-base') makedepends=('gcc-objc' 'libxml2' 'libmariadbclient' 'libldap' 'openssl' 'postgresql-libs') optdepends=('libxml2: parse XML coniguration files' 'mariadb: run database server for sogo locally' 'openldap: run directory server for sogo locally' 'openssl: create SSL secured connectons' 'postgresql: run database server for sogo locally') replaces=('sope2') provides=("sope2=${pkgver}-${pkgrel}") options=('!strip') source=("http://www.sogo.nu/files/downloads/SOGo/Sources/SOPE-${pkgver}.tar.gz" "sope_configure.patch") prepare() { cd "${srcdir}/SOPE" patch configure ../sope_configure.patch } build() { cd "${srcdir}/SOPE" ./configure --with-gnustep --disable-strip --disable-debug make } package() { cd "${srcdir}/SOPE" make install DESTDIR="${pkgdir}" } sha256sums=('a582855941d61b64c1ad988e3c797bd330647a381c0ea91f1b3dd740eea5b22c' '7ff3387daffd15b5f97146da1fd61aefc9591b7b6a41f1f0e60b572106fdbc9a')