diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2014-09-04 02:25:14 -0300 |
commit | fc353061e3e6b3e8542d2000b89ca2ecfc604b1b (patch) | |
tree | 615f9efcdc5cf45213866013e12c2293f69e2a69 /nonprism/centerim/PKGBUILD | |
parent | 0873eff3fe57c9e108ef0cf5f5b700bbb449629a (diff) | |
parent | 448c73d26577be3e04afda7364e3a7b3782b64cc (diff) |
Merge branch 'master' of ssh://lukeshu.com:1863/srv/git/mirror/parabola/abslibre
Diffstat (limited to 'nonprism/centerim/PKGBUILD')
-rw-r--r-- | nonprism/centerim/PKGBUILD | 46 |
1 files changed, 46 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 +} |