summaryrefslogtreecommitdiff
path: root/community/ejabberd
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-06-08 22:47:34 +0000
committerroot <root@rshg047.dnsready.net>2011-06-08 22:47:34 +0000
commit498f3fc095103b2a220a00b27d43f4dae02d5459 (patch)
tree55388e1d28b8932880c45fa77f1b4547f521f8df /community/ejabberd
parent4d91fc9a2dc38054b8748f27193dc3a6950bda3c (diff)
Wed Jun 8 22:47:33 UTC 2011
Diffstat (limited to 'community/ejabberd')
-rw-r--r--community/ejabberd/PKGBUILD12
1 files changed, 8 insertions, 4 deletions
diff --git a/community/ejabberd/PKGBUILD b/community/ejabberd/PKGBUILD
index eada33e78..beb61f679 100644
--- a/community/ejabberd/PKGBUILD
+++ b/community/ejabberd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 44013 2011-04-01 16:47:17Z spupykin $
+# $Id: PKGBUILD 48921 2011-06-07 16:36:53Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Jeff 'codemac' Mickey <jeff@archlinux.org>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=ejabberd
-pkgver=2.1.6
-pkgrel=2
+pkgver=2.1.8
+pkgrel=1
pkgdesc="An erlang jabber server"
arch=(i686 x86_64)
url="http://www.ejabberd.im/"
@@ -18,7 +18,7 @@ install=ejabberd.install
source=(http://www.process-one.net/downloads/ejabberd/${pkgver/_/-}/ejabberd-${pkgver}.tar.gz \
ejabberd \
ejabberd.logrotate)
-md5sums=('f5a41edee2204c414150075331ced506'
+md5sums=('d7dae7e5a7986c5ad71beac2798cc406'
'd2ed73bc83b7f0e423a3fd7fdf1b43d6'
'f97c8a96160f30e0aecc9526c12e6606')
@@ -28,6 +28,10 @@ build() {
sed -i "s|EJABBERDDIR = \$(DESTDIR)@prefix@/var/lib/ejabberd|EJABBERDDIR = \$(DESTDIR)@prefix@/usr/lib/ejabberd|g" ./Makefile.in
[ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --enable-pam --enable-odbc
make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}/src
make DESTDIR=${pkgdir} install
install -D -m 0755 ${srcdir}/ejabberd ${pkgdir}/etc/rc.d/ejabberd