updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / xchat-svn / PKGBUILD
blob9ba1b8809ff1e87654596f647b2fb2143a57d2d2
1 ## xchat-svn pkgbuild
2 # maintainer: r4 <dru84532 (at) gmail.com>
4 basename=xchat
5 pkgname=${basename}-svn
6 pkgver=1439
7 pkgrel=1
8 pkgdesc="A mature GTK+ IRC client"
9 arch=("i686" "x86_64")
10 url="http://www.${basename}.org/"
11 license=("GPL")
12 depends=("gtk2>=2.10.9" "dbus-glib>=0.7.2")
13 makedepends=("svn" "autoconf" "automake")
14 optdepends=("enchant: for spell checking support" "tcl: for tcl plugin")
15 conflicts=("${basename}" "${basename}-cvs")
16 options=("!libtool")
18 _svntrunk=https://xchat.svn.sourceforge.net/svnroot/xchat/
19 _svnmod=src
21 build() {
22     cd $startdir/
24     if [ -d $_svnmod/.svn ]; then
25         (cd $_svnmod && svn up)
26     else
27         svn co $_svntrunk $_svnmod
28     fi
30     msg "SVN checkout done or server timeout."
31     
32     cd $srcdir        
33     ./autogen.sh || return 1
34     touch configure
35     ./configure --prefix=/usr --sysconfdir=/etc \
36                                 --enable-openssl --enable-dbus \
37                                 --disable-gnome --disable-textfe \
38                         --disable-ipv6 --enable-shm \
39                         --enable-spell=static || return 1
40   
41     make || return 1
42     make DESTDIR=${pkgdir} install || return 1