1 # Contributor: Tomas Kopecny aka Georgo10 <georgo10@gmail.com>
2 # To create package use versionpkg instead makepkg !
3 # If you use makepkg, you will donwload 527 version.
5 pkgname=xchat-bttrw-svn
8 pkgdesc="IRC gate to access czech web chat - Xchat.cz"
9 url="http://nomi.cz/projects.shtml?id=xchat-bttrw"
12 makedepends=('subversion' 'versionpkg')
13 conflicts=('xchat-bttrw')
14 replaces=('xchat-bttrw')
15 provides=('xchat-bttrw')
17 source=(init-script xchat-bttrw-svn.install xchat-bttrw.conf)
18 md5sums=('675be900a1993a1c90ffa4f5b50a26e3' 'a074dd49a0f523a7aea79cfd55174fd8'\
19 '69a9667427361c7fb3b9b20ba38cb3d8')
21 install=(xchat-bttrw-svn.install)
23 _svntrunk=http://svn.nomi.cz/svn/tomi/xchat-bttrw/head
30 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
33 msg "SVN checkout done or server timeout"
34 msg "Starting make..."
38 mkdir -p $startdir/pkg/usr/bin
39 cp gate $startdir/pkg/usr/bin/xchat-bttrw
41 msg "Copying init script and configuration file..."
42 mkdir -p $startdir/pkg/etc/rc.d/
43 cp $startdir/src/init-script $startdir/pkg/etc/rc.d/xchat-bttrw
44 chmod 755 $startdir/pkg/etc/rc.d/xchat-bttrw
45 mkdir -p $startdir/pkg/etc/conf.d/
46 cp $startdir/src/xchat-bttrw.conf $startdir/pkg/etc/conf.d/xchat-bttrw
47 chmod 644 $startdir/pkg/etc/conf.d/xchat-bttrw
49 rm -rf $startdir/src/$_svnmod