diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 01:57:36 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-09-04 01:57:36 -0300 |
commit | 0be822175bb3cef0534b9a0597e84ae1ee6374ec (patch) | |
tree | c9a4fb91c61309280fd8201c7cb52789ce02a7c6 /nonprism/centerim | |
parent | 468e115b1432c745ce9ccf06d2fcca6b3cfb7227 (diff) | |
download | abslibre-0be822175bb3cef0534b9a0597e84ae1ee6374ec.tar.gz abslibre-0be822175bb3cef0534b9a0597e84ae1ee6374ec.tar.bz2 abslibre-0be822175bb3cef0534b9a0597e84ae1ee6374ec.zip |
remove nonprism suffix and add complex pkgrel on nonprism packages
Diffstat (limited to 'nonprism/centerim')
-rw-r--r-- | nonprism/centerim/PKGBUILD | 46 | ||||
-rw-r--r-- | nonprism/centerim/nonprism.patch | 14 |
2 files changed, 60 insertions, 0 deletions
diff --git a/nonprism/centerim/PKGBUILD b/nonprism/centerim/PKGBUILD new file mode 100644 index 000000000..6813a7bdf --- /dev/null +++ b/nonprism/centerim/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 113946 2014-07-01 10:19:48Z spupykin $ +# Maintainer (Arch): Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor (Arch): Aaron Griffin <aaron@archlinux.org> +# Contributor (Arch): shild <sxp@bk.ru> + +pkgname=centerim +pkgver=4.22.10 +pkgrel=3.nonprism1 +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' 'mips64el') +url="http://www.centerim.org" +license=('GPL') +depends=('python2' 'libjpeg' 'gpgme') +replaces=('centericq' "${pkgname}-nonprism") +conflicts=(${pkgname}-nonprism) +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 <stdio.h>' 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.patch b/nonprism/centerim/nonprism.patch new file mode 100644 index 000000000..43c732966 --- /dev/null +++ b/nonprism/centerim/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 |