PKGBUILDs/extra/bitlbee/PKGBUILD
2009-10-09 21:23:22 -05:00

37 lines
1.3 KiB
Bash

# $Id: PKGBUILD 21123 2008-12-10 03:47:23Z jeff $
# Contributor: FUBAR <mrfubar@gmail.com>
# Contributor: simo <simo@archlinux.org>
# Maintainer: Jeff 'codemac' Mickey <jeff@archlinux.org>
pkgname=bitlbee
pkgver=1.2.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>=2.4.2' 'glib2>=2.18.3' 'xinetd')
install=bitlbee.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)
build() {
cd $srcdir/$pkgname-$pkgver
./configure --prefix=/usr --ssl=gnutls --etcdir=/etc/bitlbee || return 1
make || return 1
install -m755 -d $pkgdir/var/lib
install -o65 -g65 -d -m0770 $pkgdir/var/lib/bitlbee
install -D -m644 $srcdir/bitlbee.xinetd \
$pkgdir/etc/xinetd.d/bitlbee
install -D -m755 $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
}
md5sums=('2b1674d98804970809de3da3edf0bed2'
'81e576369e31377f5217e636b00874b1'
'90893b706e0e50d37cfe6b283bc7d46c')