From 173a2653ed1076382d2039969689bb1b013f714b Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 20 Aug 2013 22:38:39 -0300 Subject: centerim-nonprism: add new package to nonprism repo --- nonprism/centerim-nonprism/PKGBUILD | 48 +++++++++++++++++++++++++++++++ nonprism/centerim-nonprism/nonprism.patch | 14 +++++++++ 2 files changed, 62 insertions(+) create mode 100644 nonprism/centerim-nonprism/PKGBUILD create mode 100644 nonprism/centerim-nonprism/nonprism.patch (limited to 'nonprism') diff --git a/nonprism/centerim-nonprism/PKGBUILD b/nonprism/centerim-nonprism/PKGBUILD new file mode 100644 index 000000000..1863e006b --- /dev/null +++ b/nonprism/centerim-nonprism/PKGBUILD @@ -0,0 +1,48 @@ +# $Id: PKGBUILD 78820 2012-10-25 06:47:28Z foutrelis $ +# Maintainer: Sergej Pupykin +# Contributor: Aaron Griffin +# Contributor: shild + +_pkgname=centerim +pkgname=centerim-nonprism +pkgver=4.22.10 +pkgrel=2 +pkgdesc="Fork of CenterICQ - A text mode menu- and window-driven IM interface, without support for unsafe and dangerous for privacy protocols" +arch=('i686' 'x86_64') +url="http://www.centerim.org" +license=('GPL') +depends=('python2' 'libjpeg' 'gpgme') +replaces=("$_pkgname" 'centericq') +conflicts=$_pkgname +provides=$_pkgname=$pkgver +source=("http://www.centerim.org/download/releases/$_pkgname-$pkgver.tar.gz" + 'nonprism.patch') +md5sums=('7565c3c8cac98a4e2d8524076a44676f' + '74887744683b68ea37d4d020c80fb675') + +prepare() { + cd "${srcdir}/${_pkgname}-${pkgver}" + # add patch to remove more protocols + patch -Np1 -i "${srcdir}/nonprism.patch" +} + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + sed -i 's#python#python2#' misc/CenterIMLog2HTML.py + sed -i '1,1i#include ' libicq2000/libicq2000/sigslot.h + ./configure --prefix=/usr \ + --with-ssl \ + --with-openssl \ + --enable-locales-fix \ + --disable-icq \ + --disable-yahoo \ + --disable-aim \ + --disable-gg \ + --disable-msn + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/nonprism/centerim-nonprism/nonprism.patch b/nonprism/centerim-nonprism/nonprism.patch new file mode 100644 index 000000000..43c732966 --- /dev/null +++ b/nonprism/centerim-nonprism/nonprism.patch @@ -0,0 +1,14 @@ +diff --git a/firetalk/Makefile.am b/firetalk/Makefile.am +index cf14403..dab773d 100644 +--- a/firetalk/Makefile.am ++++ b/firetalk/Makefile.am +@@ -1,7 +1,7 @@ + noinst_LIBRARIES = libfiretalk.a +-EXTRA_DIST = aim.c irc.c toc.c firetalk.c safestring.c oscar.c aim.h toc.h firetalk-int.h firetalk.h safestring.h oscar.h toc2_uuids.h ++EXTRA_DIST = irc.c firetalk.c safestring.c firetalk-int.h firetalk.h safestring.h + AUTOMAKE_OPTIONS = foreign +-libfiretalk_a_SOURCES = aim.c irc.c toc.c firetalk.c safestring.c oscar.c ++libfiretalk_a_SOURCES = irc.c firetalk.c safestring.c + + SUBDIRS = + AM_CPPFLAGS = -I$(top_srcdir)/../connwrap -I$(top_srcdir)/../connwrap -- cgit v1.2.3-54-g00ecf