summaryrefslogtreecommitdiff
path: root/community/ejabberd/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
committerroot <root@rshg054.dnsready.net>2013-08-11 01:21:34 -0700
commit18a41d682d6e91e0d28fce23eb75292f477bd620 (patch)
treebce8f660d7d0b6541cadbc49bf1bac2434e4c0c6 /community/ejabberd/PKGBUILD
parent0ade1da67addf154d93c6a6399b0a3d5a18a3336 (diff)
Sun Aug 11 01:21:31 PDT 2013
Diffstat (limited to 'community/ejabberd/PKGBUILD')
-rw-r--r--community/ejabberd/PKGBUILD45
1 files changed, 0 insertions, 45 deletions
diff --git a/community/ejabberd/PKGBUILD b/community/ejabberd/PKGBUILD
deleted file mode 100644
index 189209940..000000000
--- a/community/ejabberd/PKGBUILD
+++ /dev/null
@@ -1,45 +0,0 @@
-# $Id: PKGBUILD 93139 2013-06-25 15:54:26Z 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.13
-pkgrel=1
-pkgdesc="Jabber server written in Erlang"
-arch=('x86_64' 'i686')
-url="http://www.ejabberd.im/"
-license=("GPL")
-depends=('expat' 'openssl' 'zlib' 'erlang-nox' 'pam' 'iproute2')
-backup=('etc/ejabberd/ejabberd.cfg'
- 'etc/ejabberd/ejabberdctl.cfg'
- 'etc/logrotate.d/ejabberd')
-install=$pkgname.install
-source=("$pkgname-$pkgver.tar.gz::https://github.com/processone/ejabberd/archive/v$pkgver.tar.gz"
- "$pkgname.logrotate"
- "ejabberd.service")
-md5sums=('2a7c3b711b4f7091f811c51b52beb735'
- 'f97c8a96160f30e0aecc9526c12e6606'
- 'df32aa17e40a7bc5d9946d3ba6fe5e16')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver/src"
- ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
- --enable-pam --enable-odbc
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver/src"
- make DESTDIR="$pkgdir" install
- install -d "$pkgdir/var/lib/$pkgname"
- install -D -m0644 "$srcdir/$pkgname.logrotate" "$pkgdir/etc/logrotate.d/$pkgname"
- chmod ug+r "$pkgdir/etc/$pkgname/"*
- mkdir -p $pkgdir/usr/bin
- mv $pkgdir/usr/sbin/ejabberdctl $pkgdir/usr/bin/ejabberdctl
- chmod a+rx "$pkgdir/usr/bin/ejabberdctl" "$pkgdir/usr/lib/ejabberd/priv/bin/captcha.sh"
- rm -rf "$pkgdir/var/lock" "$pkgdir/usr/sbin"
- install -Dm0644 $srcdir/ejabberd.service $pkgdir/usr/lib/systemd/system/ejabberd.service
-}
-
-# vim:set ts=2 sw=2 et: