PKGBUILDs/community/jmc/PKGBUILD
2009-10-09 21:15:33 -05:00

33 lines
1,013 B
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
pkgname=jmc
pkgver=0.2.3
pkgrel=1
pkgdesc="jabber mail component"
arch=(i686 x86_64)
url="http://people.happycoders.org/dax/projects/jmc"
license=("GPL")
backup=(etc/ejabberd/jmc.xml)
depends=(python python-pyxmpp ejabberd)
install=jmc.install
source=(http://people.happycoders.org/dax/projects/release/jmc/0.2/jmc-$pkgver.tar.gz \
jmc.rc)
md5sums=('89dcd54e19842619000d447bfaceb8ab'
'b1d3f5a7fed4c1a1fb33d4d21d1738d2')
build()
{
cd $startdir/src
install -D -m0644 ./jmc-$pkgver/jmc.xml $startdir/pkg/etc/ejabberd/jmc.xml
rm -f ./jmc-$pkgver/jmc.xml
install -d -m0755 $startdir/pkg/usr/lib
cp -r jmc-$pkgver/src $startdir/pkg/usr/lib
mv $startdir/pkg/usr/lib/src $startdir/pkg/usr/lib/jmc
install -D -m0755 jmc.rc $startdir/pkg/etc/rc.d/jmc
install -d -m0755 $startdir/pkg/var/spool/ejabberd/jmc
}