desktop/bitlbee/PKGBUILD

54 lines
1.6 KiB
Bash
Raw Normal View History

#
# 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
2011-06-12 23:21:14 +08:00
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')
2011-06-12 23:21:14 +08:00
sha1sums=('4140eb7aaa2c6a39fa059d19f8fbaec0d7a1ebff'
2011-03-08 21:06:43 +08:00
'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
}