4 pkgdesc="Simple ident daemon. Ident daemons are commonly used for IRC official identification and other services."
6 url="http://www.exdevelopment.net"
8 makedepends=('git' 'cmake')
11 _gitroot="git://github.com/kevr/kidentd.git"
16 msg "Connecting to GIT server...."
18 if [ -d $_gitname ] ; then
19 cd $_gitname && git pull origin
20 msg "The local files are updated."
22 git clone $_gitroot $_gitname
25 msg "GIT checkout done or server timeout"
26 msg "Starting make..."
28 rm -rf "$srcdir/$_gitname-build"
29 git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
30 cd "$srcdir/$_gitname-build/src"
32 cmake . -DPREFIX=${pkgdir}/usr
35 install -Dm644 COPYING ${pkgdir}/usr/share/licenses/${pkgname}/COPYING
36 install -Dm644 rc/kidentd.conf ${pkgdir}/etc/kidentd.conf
37 install -Dm755 rc/kidentd ${pkgdir}/etc/rc.d/kidentd