1 # Maintainer: Pierre Schmitz <pierre@archlinux.de>
6 pkgdesc="A high performance XMPP (Jabber) server"
8 url='http://www.igniterealtime.org/projects/openfire/'
10 depends=('jre7-openjdk-headless' 'bash')
11 makedepends=('jdk7-openjdk' 'apache-ant')
12 install='openfire.install'
13 backup=('opt/openfire/conf/openfire.xml' 'etc/conf.d/openfire' 'opt/openfire/resources/security/keystore')
14 source=("http://www.igniterealtime.org/downloadServlet?filename=openfire/openfire_src_${pkgver//./_}.tar.gz"
15 'openfire' 'openfire.conf' 'jdk7.patch')
16 md5sums=('c8650cf8d58457ec960648527613e48b'
17 '858270601902327d68c1eb4d90b72cd2'
18 '70727798fbcc3e23c10af81c73287791'
19 'a8340df59015bf6369508844e97ce055')
22 cd ${srcdir}/openfire_src/build
23 patch -p1 -i ${srcdir}/jdk7.patch
24 rm -rf ../src/resources/nativeAuth/
30 install -d -m755 ${pkgdir}/opt/openfire
31 install -d -m750 ${pkgdir}/var/log/openfire
32 install -D -m644 $srcdir/openfire.conf ${pkgdir}/etc/conf.d/openfire
33 install -D -m774 $srcdir/openfire ${pkgdir}/etc/rc.d/openfire
34 cd ${srcdir}/openfire_src/target/openfire
36 mv * ${pkgdir}/opt/openfire/