blob: 835fef4a7da986ee5187d6ea33c06a8680d65d1b (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
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:
|