desktop/libpurple/PKGBUILD

51 lines
1.7 KiB
Bash

#
# Apps Packages for Chakra, part of chakra-project.org
#
# maintainer (x86_64): Giuseppe calà <jiveaxe@gmail.com>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
_pkgbase='pidgin'
pkgname='libpurple'
pkgver=2.7.11
pkgrel=2
pkgdesc="IM library extracted from Pidgin"
arch=('i686' 'x86_64')
url="http://pidgin.im/"
license=('GPL')
makedepends=('startup-notification' 'libxss' 'nss' 'libsasl' 'python2' 'silc-toolkit' 'gstreamer0.10'
'farsight2' 'avahi' 'tk' 'ca-certificates' 'intltool')
depends=('farsight2' 'libsasl' 'dbus-glib' 'silc-toolkit' 'nss' 'cyrus-sasl-plugins')
optdepends=('dbus-python: for purple-remote and purple-url-handler')
options=('!libtool')
source=(http://downloads.sourceforge.net/${_pkgbase}/${_pkgbase}-${pkgver}.tar.bz2)
md5sums=('07c2a2535b4d7436b5ec7685fe063fec')
build() {
cd "${srcdir}/${_pkgbase}-${pkgver}"
sed -i "s#env python#env python2#" */plugins/*.py
sed -i "s#env python#env python2#" libpurple/purple-{remote,notifications-example,url-handler}
./configure --prefix=/usr \
--sysconfdir=/etc \
--disable-schemas-install \
--disable-meanwhile \
--disable-gnutls \
--disable-gtkui \
--disable-screensaver \
--disable-sm \
--disable-nm \
--disable-gtkspell \
--enable-cyrus-sasl \
--disable-doxygen \
--with-python=/usr/bin/python2 \
--with-system-ssl-certs=/etc/ssl/certs
make
for dir in libpurple share/sounds share/ca-certs m4macros po
do
make -C "${dir}" DESTDIR="${pkgdir}" install
done
}