1 #Maintainer dawn <crackofdusk at gmail dot com>
5 pkgdesc="A fast and lightweight IRC client which (soon) aims to become smart and able to learn from its user thanks to a small IA"
7 url="http://asym.tyruiop.org"
9 depends=('libasym-git' 'ncurses')
10 optdepends=('gcc: to build extensions during runtime')
14 _gitroot="http://github.com/Tyruiop/asym.git"
20 msg "Connecting to GIT server..."
21 if [[ -d $_gitname ]]; then
22 (cd $_gitname && git pull origin) || return 1
24 git clone $_gitroot $_gitname || return 1
27 msg "GIT checkout done or server timeout"
28 msg "Starting make..."
30 rm -rf $_gitname-build || return 1
31 cp -r $_gitname $_gitname-build || return 1
32 cd $_gitname-build || return 1
34 mkdir -p $pkgdir/etc $pkgdir/usr/lib $pkgdir/usr/bin || return 1
35 ./configure || return 1
38 sed -i "s|/usr/local/|/usr/|g" Makefile || return 1
41 make DESTDIR=$pkgdir install || return 1