summaryrefslogtreecommitdiff
path: root/community/jabberd14/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/jabberd14/PKGBUILD')
-rw-r--r--community/jabberd14/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/jabberd14/PKGBUILD b/community/jabberd14/PKGBUILD
new file mode 100644
index 000000000..8d3a89c38
--- /dev/null
+++ b/community/jabberd14/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 44176 2011-04-04 11:41:59Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+
+pkgname=jabberd14
+pkgver=1.6.1.1
+pkgrel=9
+pkgdesc="old (1.4) jabber server branch"
+arch=(i686 x86_64)
+url="http://jabberd.org/"
+license=("GPL")
+depends=(pth libidn expat popt gnutls)
+optdepends=(libmysqlclient)
+conflicts=(jabberd)
+backup=(etc/jabberd/jabber.xml)
+options=('!libtool')
+source=(http://download.jabberd.org/jabberd14/jabberd14-$pkgver.tar.gz
+ build-fix.patch
+ jabberd)
+md5sums=('597c7ee14518ba22b1cee883b4737d87'
+ 'fde211eaeecfaf569d29e548a8c24d29'
+ '5869169394d70977858320648075c7a6')
+
+build() {
+ cd $srcdir/jabberd14-$pkgver
+ [ $NOEXTRACT -eq 1 ] || ./configure --prefix=/usr --enable-ssl --enable-legacy --sysconfdir=/etc/jabberd --localstatedir=/var
+ [ $NOEXTRACT -eq 1 ] || patch -p1 <$srcdir/build-fix.patch
+ make -j1
+ make DESTDIR=$pkgdir install
+ install -D -m 0755 $srcdir/jabberd $pkgdir/etc/rc.d/jabberd
+ rm -rf $pkgdir/var/run
+}