2010-12-05 20:09:06 +08:00
|
|
|
#
|
|
|
|
# Chakra Packages for Chakra, part of chakra-project.org
|
|
|
|
#
|
2012-10-22 12:24:46 +08:00
|
|
|
# maintainer abveritas[at]chakra-project[dot]org>
|
2010-12-05 20:09:06 +08:00
|
|
|
|
|
|
|
pkgname=bitlbee
|
2013-12-06 04:59:03 +08:00
|
|
|
pkgver=3.2.1
|
2012-10-22 12:24:46 +08:00
|
|
|
pkgrel=1
|
2010-12-05 20:09:06 +08:00
|
|
|
pkgdesc="An IRC to IM gateway. Supports MSN, ICQ, Jabber, Yahoo!, and AIM"
|
2012-10-22 12:24:46 +08:00
|
|
|
arch=('x86_64')
|
2010-12-05 20:09:06 +08:00
|
|
|
url="http://www.bitlbee.org/"
|
2012-10-14 21:28:35 +08:00
|
|
|
screenshot="http://www.bitlbee.org/img/screenshot-irssi_sawfish.png"
|
2010-12-05 20:09:06 +08:00
|
|
|
license=('GPL')
|
2011-12-08 06:23:24 +08:00
|
|
|
depends=('openssl' 'glib2')
|
2012-02-21 00:57:00 +08:00
|
|
|
makedepends=('asciidoc' 'libotr')
|
|
|
|
optdepends=('xinetd: to run bitlbee through xinetd'
|
|
|
|
'libotr: for OTR encryption support')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('communication')
|
2010-12-05 20:09:06 +08:00
|
|
|
install=${pkgname}.install
|
2012-10-14 21:28:35 +08:00
|
|
|
backup=(etc/bitlbee/bitlbee.conf
|
|
|
|
etc/bitlbee/motd.txt
|
|
|
|
etc/xinetd.d/bitlbee)
|
|
|
|
source=("http://get.bitlbee.org/src/${pkgname}-${pkgver}.tar.gz"
|
2010-12-05 20:09:06 +08:00
|
|
|
'bitlbee.xinetd'
|
2012-10-14 21:28:35 +08:00
|
|
|
'bitlbee.tmpfiles')
|
2013-12-06 04:59:03 +08:00
|
|
|
sha256sums=('00f411dd7d6d28f30f0e73e46c9cbe88b4006e7f03adfe07b90a97280a290f59'
|
2012-10-14 21:28:35 +08:00
|
|
|
'893616045f956ffbbaa299d81e2cf2af8b06c72663837eb4b61a88b02c58a3fe'
|
|
|
|
'47df3adcd6c3fa9e18e4a2b8433f49a717d1cb282f73cc293b64749f3a5e8b58')
|
2010-12-05 20:09:06 +08:00
|
|
|
|
|
|
|
build() {
|
2012-10-14 21:28:35 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
2010-12-05 20:09:06 +08:00
|
|
|
|
2012-10-14 21:28:35 +08:00
|
|
|
./configure --prefix=/usr \
|
|
|
|
--ssl=openssl \
|
|
|
|
--etcdir=/etc/bitlbee \
|
|
|
|
--pidfile=/var/run/bitlbee/bitlbee.pid \
|
|
|
|
--ipcsocket=/var/run/bitlbee/bitlbee.sock \
|
|
|
|
--systemdsystemunitdir=/usr/lib/systemd/system \
|
|
|
|
--strip=0 \
|
|
|
|
--otr=plugin
|
|
|
|
make
|
2010-12-05 20:09:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
2012-10-14 21:28:35 +08:00
|
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install{,-etc,-dev}
|
2010-12-05 20:09:06 +08:00
|
|
|
|
2012-10-14 21:28:35 +08:00
|
|
|
install -o65 -g65 -dm0770 "${pkgdir}/var/lib/bitlbee"
|
|
|
|
install -Dm0644 "${srcdir}/bitlbee.xinetd" "${pkgdir}/etc/xinetd.d/bitlbee"
|
|
|
|
install -Dm0644 "${srcdir}/bitlbee.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/bitlbee.conf"
|
2010-12-05 20:09:06 +08:00
|
|
|
}
|