pkgname=bitlbee-otr-bzr _realname=bitlbee-otr pkgver=1 pkgrel=1 pkgdesc="Bitlbee gateway - with OTR support" arch=('i686' 'x86_64') url="http://khjk.org/~pesco/" license=('GPLv2') depends=('gnutls' 'glib2' 'libotr') makedepends=('bzr' 'xmlto' 'links') provides=(${_realname} bitlbee) conflicts=(${_realname} ${_realname} bitlbee) options=('') #install=${pkgname}.install source=() md5sums=() backup=('etc/bitlbee/welcome.txt' 'etc/bitlbee/motd.txt' 'etc/bitlbee/bitlbee.conf') _bzrbranch=http://khjk.org/~pesco/bitlbee-otr-testing _bzrmod=bitlbee-otr-testing build() { cd ${srcdir} msg "Connecting to the server...." bzr checkout ${_bzrbranch} msg "BZR checkout done or server timeout" msg "Starting make..." [ -d ./${_bzrmod}-build ] && rm -rf ./${_bzrmod}-build cp -r ./${_bzrmod} ./${_bzrmod}-build cd ./${_bzrmod}-build ./configure --prefix=/usr --etcdir=/etc/bitlbee/ make || return 1 make DESTDIR=${pkgdir} install || return 1 make DESTDIR=${pkgdir} install-etc || return 1 # rm -rf ${srcdir}/${_bzrmod}-build } # vim:set ts=2 sw=2 et: