updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / bitlbee-plugin-otr / PKGBUILD
blob87a3646ed60fe0f514d887ecb26d01f3c74f9f55
1 # Maintainer: John Regan <saxindustries@gmail.com>
3 pkgname=bitlbee-plugin-otr
4 _srcname=bitlbee
5 pkgver=3.0.1
6 pkgrel=1
7 pkgdesc="The OTR plugin for bitlbee"
8 arch=('i686' 'x86_64')
9 url="http://www.bitlbee.org/" 
10 license=('GPL')
11 depends=('bitlbee=3.0.1' 'libotr')
12 source=(http://get.bitlbee.org/src/${_srcname}-${pkgver}.tar.gz)
13 md5sums=('4d00c6e09859b653f955b16b988db0ac')
14 build() { 
15         cd ${srcdir}/${_srcname}-${pkgver}
16         
17         ./configure --prefix=/usr \
18             --otr=plugin \
19                 --ssl=gnutls \
20                 --etcdir=/etc/bitlbee \
21                 --pidfile=/var/run/bitlbee/bitlbee.pid \
22                 --ipcsocket=/var/run/bitlbee/bitlbee.sock || return 1
23         make otr.so || return 1
26 package() {
27         cd ${srcdir}/${_srcname}-${pkgver}
29         make DESTDIR=${pkgdir} install-plugins || return 1