updated on Wed Jan 25 08:34:36 UTC 2012
[aur-mirror.git] / ekg2-unicode-svn / PKGBUILD
blobc77e24a28ba562c3cf343cc104f0d949643662bf
1 # Contributor: Karol Maciaszek <karol.maciaszek@gmail.com>
2 arch=(i686 x86_64)
3 pkgname=ekg2-unicode-svn
4 pkgver=4100
5 pkgrel=1
6 pkgdesc="ncurses based Jabber, Gadu-Gadu, Tlen and IRC client with unicode support"
7 url="http://www.ekg2.org"
8 license=('GPL')
10 depends=('aspell' 'python' 'libgadu' 'gnutls')
11 makedepends=('subversion' 'automake')
12 conflicts=('ekg2')
13 provides=('ekg2')
15 source=()
16 md5sums=()
18 _svntrunk=http://toxygen.net/svn/ekg2/trunk/
19 _svnmod=ekg2
21 build() {
22         cd $startdir/src
24         if [ -d $_svnmod/.svn ]; then
25                 (cd $_svnmod && svn up -r $pkgver)
26         else
27                 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
28         fi
30         msg "SVN checkout done or server timeout"
31         msg "Starting make..."
33         cp -r $_svnmod $_svnmod-build
34         cd $_svnmod-build
36         ./autogen.sh
38         ./configure --prefix=/usr --enable-unicode --with-libgadu
39         make || return 1
40         make DESTDIR=$startdir/pkg/ install
42         rm -rf $startdir/src/$_svnmod-build