summaryrefslogtreecommitdiff
path: root/community/centerim/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/centerim/PKGBUILD')
-rw-r--r--community/centerim/PKGBUILD32
1 files changed, 32 insertions, 0 deletions
diff --git a/community/centerim/PKGBUILD b/community/centerim/PKGBUILD
new file mode 100644
index 000000000..5450d1345
--- /dev/null
+++ b/community/centerim/PKGBUILD
@@ -0,0 +1,32 @@
+# $Id: PKGBUILD 65082 2012-02-20 03:33:03Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Aaron Griffin <aaron@archlinux.org>
+# Contributor: shild <sxp@bk.ru>
+
+pkgname=centerim
+pkgver=4.22.10
+pkgrel=2
+pkgdesc="Fork of CenterICQ - A text mode menu- and window-driven IM interface"
+arch=('i686' 'x86_64')
+url="http://www.centerim.org"
+license=('GPL')
+depends=('python2' 'libjpeg' 'gpgme')
+replaces=('centericq')
+source=(http://www.centerim.org/download/releases/$pkgname-$pkgver.tar.gz)
+md5sums=('7565c3c8cac98a4e2d8524076a44676f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i 's#python#python2#' misc/CenterIMLog2HTML.py
+ sed -i '1,1i#include <stdio.h>' libicq2000/libicq2000/sigslot.h
+ ./configure --prefix=/usr \
+ --with-ssl \
+ --with-openssl \
+ --enable-locales-fix
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}