desktop/bitlbee/PKGBUILD
2011-12-07 22:23:24 +00:00

52 lines
1.5 KiB
Bash

#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
pkgname=bitlbee
pkgver=3.0.4
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=('openssl' 'glib2')
makedepends=('asciidoc')
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=('2c2742948d1ed2c83ee5db2d2fbff5e8b656b8c4'
'5e0af27ba9cc4fe455e3381c75fc49a9326e2f17'
'299776783902cc2e20be49e2fe729572ca656383')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--ssl=openssl \
--etcdir=/etc/bitlbee \
--pidfile=/var/run/bitlbee/bitlbee.pid \
--ipcsocket=/var/run/bitlbee/bitlbee.sock
make
}
package() {
cd ${srcdir}/${pkgname}-${pkgver}
install -o65 -g65 -dm0770 ${pkgdir}/var/lib/bitlbee
install -Dm644 ${srcdir}/bitlbee.xinetd \
${pkgdir}/etc/xinetd.d/bitlbee
install -Dm755 ${srcdir}/bitlbee.rcd \
${pkgdir}/etc/rc.d/bitlbee
make DESTDIR=${pkgdir} install
make DESTDIR=${pkgdir} install-etc
make DESTDIR=${pkgdir} install-dev
}