summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDJ Lucas2015-07-17 21:36:32 -0500
committerDJ Lucas2015-07-17 21:36:32 -0500
commit211fa689a0251ab3a2bb52912a385de62183fb76 (patch)
tree5d07b07fdadf47261f4cdedfea332ff2535a481c
downloadaur-211fa689a0251ab3a2bb52912a385de62183fb76.tar.gz
Initial commit
-rw-r--r--.SRCINFO23
-rw-r--r--PKGBUILD40
-rw-r--r--sope_configure.patch14
3 files changed, 77 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dafd409b724
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,23 @@
+pkgbase = sope
+ pkgdesc = application server used by SOGo
+ pkgver = 2.3.0
+ pkgrel = 1
+ url = http://www.sogo.nu/files/downloads/SOGo/Sources/
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = gcc-objc
+ depends = gnustep-base
+ optdepends = libxml2: parse XML coniguration files
+ optdepends = mariadb: run database server for sogo locally
+ optdepends = openldap: run directory server for sogo locally
+ optdepends = openssl: create SSL secured connectons
+ optdepends = postgresql: run database server for sogo locally
+ options = !strip
+ source = http://www.sogo.nu/files/downloads/SOGo/Sources/SOPE-2.3.0.tar.gz
+ source = sope_configure.patch
+ sha256sums = fa493a1b07e179f731379e4a48deb12f6129e1206a2a9e42fdba1482bad3da12
+ sha256sums = 7ff3387daffd15b5f97146da1fd61aefc9591b7b6a41f1f0e60b572106fdbc9a
+
+pkgname = sope
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..67f09f6a092
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: DJ Lucas <dj_AT_linuxfromscratch_DOT_org>
+# Maintainer: Steven Hiscocks <steven [at] hiscocks [dot] me [dot] uk>
+# Contributor: Andre Wayand <aur-sope@awayand.sleepmail.com>
+pkgname=sope
+pkgver=2.3.0
+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')
+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')
+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 --prefix="/usr" --disable-strip --disable-debug
+ make
+}
+
+package() {
+ cd "${srcdir}/SOPE"
+ make install DESTDIR="${pkgdir}"
+}
+
+sha256sums=('fa493a1b07e179f731379e4a48deb12f6129e1206a2a9e42fdba1482bad3da12'
+ '7ff3387daffd15b5f97146da1fd61aefc9591b7b6a41f1f0e60b572106fdbc9a')
+
diff --git a/sope_configure.patch b/sope_configure.patch
new file mode 100644
index 00000000000..1037e83df38
--- /dev/null
+++ b/sope_configure.patch
@@ -0,0 +1,14 @@
+332,342c332
+< UNAME=`uname`
+< if [ "X${UNAME}" = "XLinux" ];then
+< UNAME=`uname -m`
+< if [ ${UNAME} = x86_64 -o ${UNAME} = sparc64 -o ${UNAME} = ppc64 ];then
+< cfgwrite "CGS_LIBDIR_NAME:=lib64"
+< else
+< cfgwrite "CGS_LIBDIR_NAME:=lib"
+< fi
+< else
+< cfgwrite "CGS_LIBDIR_NAME:=lib"
+< fi
+---
+> cfgwrite "CGS_LIBDIR_NAME:=lib"