summaryrefslogtreecommitdiff
path: root/community/ejabberd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
committerroot <root@rshg054.dnsready.net>2012-10-06 00:25:32 -0700
commite7552010f531ef1b114352f0ce71a307360bf1d4 (patch)
treed37bd67211f2dc084113f36b80f2b4b5b9622aa5 /community/ejabberd/PKGBUILD
parent777466db27694f0cad10a7159ba66f2a2b39a516 (diff)
Sat Oct 6 00:25:32 PDT 2012
Diffstat (limited to 'community/ejabberd/PKGBUILD')
-rw-r--r--community/ejabberd/PKGBUILD13
1 files changed, 8 insertions, 5 deletions
diff --git a/community/ejabberd/PKGBUILD b/community/ejabberd/PKGBUILD
index e18d678d8..327af4f3d 100644
--- a/community/ejabberd/PKGBUILD
+++ b/community/ejabberd/PKGBUILD
@@ -1,11 +1,11 @@
-# $Id: PKGBUILD 73545 2012-07-09 12:52:21Z spupykin $
+# $Id: PKGBUILD 77108 2012-10-05 10:15:29Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Jeff 'codemac' Mickey <jeff@archlinux.org>
# Contributor: Alexander Rødseth <rodseth@gmail.com>
pkgname=ejabberd
pkgver=2.1.11
-pkgrel=3
+pkgrel=4
pkgdesc="Jabber server written in Erlang"
arch=('x86_64' 'i686')
url="http://www.ejabberd.im/"
@@ -14,11 +14,13 @@ depends=('expat' 'openssl' 'zlib' 'erlang' 'pam' 'iproute2')
backup=(etc/ejabberd/ejabberd.cfg etc/logrotate.d/ejabberd)
install=$pkgname.install
source=("http://www.process-one.net/downloads/ejabberd/${pkgver/_/-}/ejabberd-${pkgver}.tgz"
- "$pkgname.logrotate"
- "$pkgname")
+ "$pkgname.logrotate"
+ "$pkgname"
+ "ejabberd.service")
md5sums=('a70b040c4e7602f47718c8afe8780d50'
'f97c8a96160f30e0aecc9526c12e6606'
- '2338a6230ce5f9f60be6dddcfa39bc7e')
+ '2338a6230ce5f9f60be6dddcfa39bc7e'
+ 'bc4552b833e1927fce52acdbc6d76fb2')
build() {
cd "$srcdir/$pkgname-$pkgver/src"
@@ -35,6 +37,7 @@ package() {
install -D -m0644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname"
chmod ug+r "$pkgdir/etc/$pkgname/"*
rm -rf "$pkgdir/var/lock"
+ install -Dm0644 $srcdir/ejabberd.service $pkgdir/usr/lib/systemd/system/ejabberd.service
}
# vim:set ts=2 sw=2 et: