summaryrefslogtreecommitdiff
path: root/community/mcabber/PKGBUILD
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
committerroot <root@rshg054.dnsready.net>2013-08-13 01:33:19 -0700
commit7a65a910b77ad191d69881098c47f9b0c852d92e (patch)
tree9564e611af1442f8952a8cbddb3b0ad25ed71aab /community/mcabber/PKGBUILD
parent60da6abff6c9577a783d72865f11de7a585e912e (diff)
Tue Aug 13 01:31:08 PDT 2013
Diffstat (limited to 'community/mcabber/PKGBUILD')
-rw-r--r--community/mcabber/PKGBUILD41
1 files changed, 41 insertions, 0 deletions
diff --git a/community/mcabber/PKGBUILD b/community/mcabber/PKGBUILD
new file mode 100644
index 000000000..3637a85e2
--- /dev/null
+++ b/community/mcabber/PKGBUILD
@@ -0,0 +1,41 @@
+# $Id: PKGBUILD 80881 2012-12-05 10:05:02Z spupykin $
+# 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.2
+pkgrel=1
+pkgdesc="A small Jabber console client, includes features: SSL, PGP, MUC, UTF8"
+arch=('i686' 'x86_64')
+url="http://www.lilotux.net/~mikael/mcabber/"
+license=('GPL')
+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=('6bb2302f5168ad4c28b647390e37f9b3')
+
+build() {
+ 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 \
+ --enable-aspell --enable-otr
+ make
+}
+
+package() {
+ cd "${srcdir}"/$pkgname-${pkgver/_/-}
+
+ 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
+}
+