4 pkgdesc="A fast and lightweight IRC client which aims to become smart, able to learn from its user thanks to a small IA (soon)"
6 url="http://asym.tyruiop.org"
11 _gitroot="http://github.com/Tyruiop/asym.git"
17 msg "Connecting to GIT server..."
18 if [[ -d $_gitname ]]; then
19 (cd $_gitname && git pull origin) || return 1
21 git clone $_gitroot $_gitname || return 1
24 msg "GIT checkout done or server timeout"
25 msg "Starting make..."
27 rm -rf $_gitname-build || return 1
28 cp -r $_gitname $_gitname-build || return 1
29 cd $_gitname-build || return 1
31 mkdir -p $pkgdir/etc $pkgdir/usr/lib $pkgdir/usr/bin || return 1
32 ./configure --prefix=$pkgdir || return 1
35 sed -i "s|-lasym|-lasym -L$pkgdir/usr/local/lib|g" Makefile || return 1
36 sed -i "s|/usr/local/|/usr/|g" Makefile || return 1
39 make DESTDIR=$pkgdir installlib || return 1
41 make DESTDIR=$pkgdir install || return 1