summaryrefslogtreecommitdiff
path: root/community/mcabber
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2012-11-09 20:51:43 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2012-11-09 20:51:43 +0100
commit7b801d14eb78615912e7456a4654c2488bdee4d5 (patch)
tree070ebb46ae5f3eda613c61c00455800ec93267cd /community/mcabber
parent6437e5e532491d7221030a7647fde7a69d1a1099 (diff)
parentc865fc041a0945e396f139a86315f6a25b1d4dec (diff)
Merge branch 'master' of ssh://parabolagnulinux.org:1863/home/parabola/abslibre-pre-mips64el
Conflicts: community/erlang/PKGBUILD community/mcabber/PKGBUILD community/smem/PKGBUILD community/uqm/PKGBUILD extra/bitlbee/PKGBUILD extra/gvfs/PKGBUILD extra/gweled/PKGBUILD extra/libmikmod/PKGBUILD extra/sdl_sound/PKGBUILD extra/xmms/PKGBUILD libre/gnu-ghostscript/PKGBUILD libre/libretools/PKGBUILD
Diffstat (limited to 'community/mcabber')
-rw-r--r--community/mcabber/PKGBUILD26
1 files changed, 15 insertions, 11 deletions
diff --git a/community/mcabber/PKGBUILD b/community/mcabber/PKGBUILD
index 7841831ab..4c6923e21 100644
--- a/community/mcabber/PKGBUILD
+++ b/community/mcabber/PKGBUILD
@@ -1,23 +1,27 @@
-# $Id: PKGBUILD 66233 2012-02-23 05:07:48Z spupykin $
+# $Id: PKGBUILD 79621 2012-11-09 00:24:34Z ebelanger $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: Thorsten Töpper <atsutane-tu@freethoughts.de>
# Contributor: 3ED <kas1987@o2.pl>
pkgname=mcabber
pkgver=0.10.1
-pkgrel=2
-pkgdesc="a small Jabber console client, includes features: SSL, PGP, MUC, UTF8"
+pkgrel=4
+pkgdesc="A small Jabber console client, includes features: SSL, PGP, MUC, UTF8"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.lilotux.net/~mikael/mcabber/"
license=('GPL')
-depends=('ncurses' 'glib2' 'loudmouth' 'gpgme' 'libotr' 'aspell')
-makedepends=('pkgconfig')
+depends=('ncurses' 'glib2' 'loudmouth' 'gpgme' 'libotr3' 'aspell')
+makedepends=('pkg-config')
options=('!libtool')
source=(http://www.lilotux.net/~mikael/mcabber/files/$pkgname-${pkgver/_/-}.tar.bz2)
md5sums=('fe96beab30f535d5d6270fd1719659b4')
build() {
- cd ${srcdir}/$pkgname-${pkgver/_/-}
+ cd "${srcdir}"/$pkgname-${pkgver/_/-}
+
+ sed -i 's|lotr|lotr3|' configure
+ sed -i 's|libotr/version.h|libotr3/version.h|' configure
+ sed -i 's|#include <libotr|#include <libotr3|' mcabber/otr.h
./configure --prefix=/usr --enable-hgcset \
--mandir=/usr/share/man \
@@ -26,12 +30,12 @@ build() {
}
package() {
- cd ${srcdir}/$pkgname-${pkgver/_/-}
+ cd "${srcdir}"/$pkgname-${pkgver/_/-}
- make DESTDIR=${pkgdir} install
- mkdir -p ${pkgdir}/usr/share/mcabber/example
+ make DESTDIR="${pkgdir}" install
+ mkdir -p "${pkgdir}"/usr/share/mcabber/example
msg "Copying mcabberrc.example to usr/share/mcabber/example/mcabberrc"
- cp -a ${srcdir}/$pkgname-${pkgver/_/-}/mcabberrc.example \
- ${pkgdir}/usr/share/mcabber/example/mcabberrc
+ cp -a "${srcdir}"/$pkgname-${pkgver/_/-}/mcabberrc.example \
+ "${pkgdir}"/usr/share/mcabber/example/mcabberrc
}