updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / pyicq-t-svn / PKGBUILD
blob31ad10e56c6d5746b84a48c7b159d108f0d2a750
1 pkgname=pyicq-t-svn
2 pkgver=0.1
3 pkgrel=3
4 pkgdesc="jabber icq transport"
5 arch=('i686' 'x86_64')
6 url="http://webkeks.org/"
7 license=('GPL')
8 backup=(etc/ejabberd/$pkgname.xml)
9 depends=('python' 'twisted')
10 source=(https://webkeks.org/hg/webkeksicq-t/archive/tip.tar.gz \
11         pyicq.rc \
12         config.xml)
13 md5sums=('a8b7b3a497258b85d6ebb58c61ddb633'
14          '7ad73461eda9d7b4a69dd488e4f72f93'
15          '50beb21846543a7c50e51d57873d03b6')
17 build() {
18   cd $srcdir
20   install -d -m0755 $pkgdir/usr/lib && \
21   cp -r WebKeks* $pkgdir/usr/lib && \
22   mv $pkgdir/usr/lib/WebKeks* $pkgdir/usr/lib/$pkgname && \
23   install -d -m0755 $pkgdir/var/spool/$pkgname && \
24   install -D -m0644 ./config.xml $pkgdir/etc/ejabberd/$pkgname.xml && \
25   mv $pkgdir/usr/lib/$pkgname/config_example.xml $pkgdir/etc/ejabberd/${pkgname}_example.xml && \
26   ln -s ../../../etc/ejabberd/$pkgname.xml $pkgdir/usr/lib/$pkgname/config.xml && \
27   install -D -m0755 pyicq.rc $pkgdir/etc/rc.d/$pkgname