1 # Contributor: Brandon Hartshorn <sharntehnub@gmail.com>
5 pkgdesc="Uses libpurple from Pidgin to interface with IRC - similar to bitlbee"
7 url="http://symlink.me/wiki/minbif"
9 depends=('pidgin' 'libcaca')
10 makedepends=('git' 'cmake')
16 install=${pkgname}.install
19 #md5sums=('3a2edaee8035db3f4391b31df2318a47') #generate with 'makepkg -g'
21 _gitroot="git://git.symlink.me/pub/romain/minbif.git"
26 msg "Connecting to GIT server...."
28 if [ -d $_gitname ] ; then
29 cd $_gitname && git pull origin
30 msg "The local files are updated."
35 msg "GIT checkout done or server timeout"
36 msg "Starting make..."
38 rm -rf "$srcdir/$_gitname-build"
39 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
40 cd "$srcdir/$_gitname-build"
41 # patch < ../arch.patch
49 #./configure --prefix=/usr
50 make ENABLE_CACA=1 PREFIX=/usr CONF_PREFIX=/etc || return 1
51 make DESTDIR="$pkgdir/" install
53 install -m755 -d "$pkgdir/var/lib/minbif/users"