mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
36 lines
1.2 KiB
Bash
36 lines
1.2 KiB
Bash
# 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=('arm')
|
|
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)
|
|
md5sums=('2b1674d98804970809de3da3edf0bed2'
|
|
'81e576369e31377f5217e636b00874b1'
|
|
'90893b706e0e50d37cfe6b283bc7d46c')
|
|
|
|
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
|
|
}
|