summaryrefslogtreecommitdiffstats
path: root/bitlbee-otr-bzr
diff options
context:
space:
mode:
authorFlorian Pritz <bluewind@xssn.at>2009-11-16 19:42:57 +0100
committerFlorian Pritz <bluewind@xssn.at>2009-11-16 19:42:57 +0100
commitac2be60a6f3e6805f9c4a5986fc9bdc67798f4c5 (patch)
treec9d802d842fa0657e67135ea6bd22e958e9fc477 /bitlbee-otr-bzr
parentf7cf2c5f9206ce42b8cad94acefeda1caf476dd0 (diff)
downloadaur-packages-ac2be60a6f3e6805f9c4a5986fc9bdc67798f4c5.tar.gz
aur-packages-ac2be60a6f3e6805f9c4a5986fc9bdc67798f4c5.tar.xz
some updates
Signed-off-by: Florian Pritz <bluewind@xssn.at>
Diffstat (limited to 'bitlbee-otr-bzr')
-rw-r--r--bitlbee-otr-bzr/PKGBUILD45
1 files changed, 45 insertions, 0 deletions
diff --git a/bitlbee-otr-bzr/PKGBUILD b/bitlbee-otr-bzr/PKGBUILD
new file mode 100644
index 0000000..835fef4
--- /dev/null
+++ b/bitlbee-otr-bzr/PKGBUILD
@@ -0,0 +1,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: