blob: 1adcf17a5c7cc3b93ceab8f6e10192578fadeee2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Maintainer: Deon Spengler <deon@spengler.co.za>
# Contributor: DJ Lucas <dj_AT_linuxfromscratch_DOT_org>
# Contributor: Steven Hiscocks <steven [at] hiscocks [dot] me [dot] uk>
# Contributor: Andre Wayand <aur-sope@awayand.sleepmail.com>
pkgname=sope
pkgdesc="application server used by SOGo"
pkgver=5.12.9
pkgrel=1
arch=(x86_64)
url="http://www.sogo.nu/files/downloads/SOGo/Sources/"
license=('GPL-2.0-or-later')
options=('!strip')
replaces=('sope2')
depends=('gnustep-base')
makedepends=('gcc-objc'
'gnustep-make'
'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')
source=("https://packages.sogo.nu/sources/SOPE-${pkgver}.tar.gz")
sha512sums=('d4a432c4483e5e890b513be607c45e3b452dd6bc7891f93c9f1f70d6551103c20e6eb15124cb6a53b6ac31a2bd487594493403edbfc080153d3164ec9f1ab0da')
prepare() {
cd SOPE
sed 's@NSBIG5StringEncoding@NSBig5StringEncoding@g' -i sope-mime/NGMime/NGMimeType.m
sed 's@NSGB2312StringEncoding@NSHZ_GB_2312StringEncoding@g' -i sope-mime/NGMime/NGMimeType.m
}
build() {
cd SOPE
./configure --with-gnustep --disable-strip --disable-debug
make
}
package() {
cd SOPE
make install DESTDIR="${pkgdir}"
}
|