mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
35 lines
1.2 KiB
Bash
35 lines
1.2 KiB
Bash
# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
|
|
# Maintainer: Moritz Rudert <helios@cyb0rg.org>
|
|
|
|
pkgname=pymsnt
|
|
pkgver=0.11.3
|
|
pkgrel=1
|
|
pkgdesc="jabber msn transport"
|
|
arch=('i686' 'x86_64')
|
|
url="http://delx.net.au/projects/pymsnt/"
|
|
license=('GPL')
|
|
backup=(etc/ejabberd/pymsn.xml)
|
|
depends=('python' 'twisted')
|
|
source=(http://delx.net.au/projects/pymsnt/tarballs/pymsnt-$pkgver.tar.gz \
|
|
pymsn.rc \
|
|
config.xml \
|
|
pymsnt-version.patch)
|
|
md5sums=('e74049fb1bfae59846b1be3d4ef80299'
|
|
'8f19bc2d796cacadb9c56384cb12b2b0'
|
|
'4c07c88403515f1da61974b57acf8db7'
|
|
'50c03d89ca1f682ebffcfacb70d1ba00')
|
|
|
|
build()
|
|
{
|
|
cd $srcdir
|
|
patch -p0 < $srcdir/pymsnt-version.patch
|
|
|
|
install -d -m0755 $pkgdir/usr/lib && \
|
|
cp -r ${pkgname}-$pkgver $pkgdir/usr/lib && \
|
|
mv $pkgdir/usr/lib/${pkgname}-$pkgver $pkgdir/usr/lib/$pkgname && \
|
|
install -d -m0755 $pkgdir/var/spool/pymsnt && \
|
|
install -D -m0644 ./config.xml $pkgdir/etc/ejabberd/pymsn.xml && \
|
|
mv $pkgdir/usr/lib/$pkgname/config-example.xml $pkgdir/etc/ejabberd/pymsn_example.xml && \
|
|
ln -s ../../../etc/ejabberd/pymsn.xml $pkgdir/usr/lib/$pkgname/config.xml && \
|
|
install -D -m0755 pymsn.rc $pkgdir/etc/rc.d/pymsnt
|
|
}
|