# # Chakra Packages for Chakra, part of chakra-project.org # # maintainer (i686): Phil Miller # maintainer (x86_64): Manuel Tortosa # include global config source ../_buildscripts/${current_repo}-${_arch}-cfg.conf pkgname=bitlbee pkgver=3.0.3 pkgrel=1 pkgdesc="An IRC to IM gateway. Supports MSN, ICQ, Jabber, Yahoo!, and AIM" arch=('i686' 'x86_64') url="http://www.bitlbee.org/" license=('GPL') depends=('gnutls' 'glib2') optdepends=('xinetd: to run bitlbee through xinetd') install=${pkgname}.install backup=(etc/bitlbee/bitlbee.conf etc/bitlbee/motd.txt etc/xinetd.d/bitlbee) source=(http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz 'bitlbee.xinetd' 'bitlbee.rcd') sha1sums=('4140eb7aaa2c6a39fa059d19f8fbaec0d7a1ebff' '5e0af27ba9cc4fe455e3381c75fc49a9326e2f17' '299776783902cc2e20be49e2fe729572ca656383') build() { cd ${srcdir}/${pkgname}-${pkgver} ./configure --prefix=/usr \ --ssl=gnutls \ --etcdir=/etc/bitlbee \ --pidfile=/var/run/bitlbee/bitlbee.pid \ --ipcsocket=/var/run/bitlbee/bitlbee.sock || return 1 make || return 1 } package() { cd ${srcdir}/${pkgname}-${pkgver} install -dm755 ${pkgdir}/var/lib install -o65 -g65 -dm0770 ${pkgdir}/var/lib/bitlbee install -dm755 ${pkgdir}/var/run install -o65 -g65 -dm755 ${pkgdir}/var/run/bitlbee install -Dm644 ${srcdir}/bitlbee.xinetd \ ${pkgdir}/etc/xinetd.d/bitlbee install -Dm755 ${srcdir}/bitlbee.rcd \ ${pkgdir}/etc/rc.d/bitlbee || return 1 make DESTDIR=${pkgdir} install || return 1 make DESTDIR=${pkgdir} install-etc || return 1 make DESTDIR=${pkgdir} install-dev || return 1 }