1 #Maintainer dawn <crackofdusk at gmail dot com>
5 pkgdesc="Library for asym: 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"
13 _gitroot="http://github.com/Tyruiop/libasym.git"
19 msg "Connecting to GIT server..."
20 if [[ -d $_gitname ]]; then
21 (cd $_gitname && git pull origin) || return 1
23 git clone $_gitroot $_gitname || return 1
26 msg "GIT checkout done or server timeout"
27 msg "Starting make..."
29 rm -rf $_gitname-build || return 1
30 cp -r $_gitname $_gitname-build || return 1
31 cd $_gitname-build || return 1
33 mkdir -p $pkgdir/etc $pkgdir/usr/lib $pkgdir/usr/include || return 1
34 ./configure || return 1
37 sed -i "s|/usr/local/|/usr/|g" Makefile || return 1
40 make DESTDIR=$pkgdir install || return 1