1 # Maintainer: Bartek Piotrowski <barthalion@gmail.com>
6 pkgdesc="Ncurses based Jabber, Gadu-Gadu, Tlen and IRC client. Latest GIT snapshot."
10 depends=('aspell' 'libjpeg' 'python2' 'libgadu' 'gnutls' 'gpm' 'libidn' 'giflib' 'gpgme')
11 optdepends=( 'xosd: for xosd support'
12 'sqlite3: sqlite support')
13 provides=('ekg2-unicode' 'ekg2')
14 conflicts=('ekg2' 'ekg2-unicode-svn')
16 _gitroot="git://github.com/Enlik/ekg2.git"
21 msg "Connecting to GIT server..."
23 if [ -d $_gitname ] ; then
24 cd $_gitname && git pull origin
25 msg "The local files are updated."
27 git clone $_gitroot $_gitname
29 msg "GIT checkout done or server timeout."
31 rm -rf "$srcdir/$_gitname-build"
32 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33 cd "$srcdir/$_gitname-build"
36 sed -i 's|ncursesw/ncurses.h|ncurses.h|g' configure plugins/ncurses/ecurses.h
37 ./configure --prefix=/usr \
49 cd "$srcdir/$_gitname-build"
50 make DESTDIR=$pkgdir install
51 rm -rf $pkgdir/usr/lib/perl5/core_perl/perllocal.pod
52 # mv $pkgdir/usr/libexec/ioctld $pkgdir/usr/lib/ekg2/ioctld
53 rm -rf $pkgdir/usr/libexec
54 chmod -R 755 $pkgdir/usr/lib/perl5