desktop/libpurple/PKGBUILD
AlmAck 0af05b343a kde applications 16.12.0
renamed checksums to kdeapps.sums
added for all packages the pgp signature
for new/removed packages check: https://community.kde.org/Applications/16.12_Release_Notes#Tarballs_that_we_have_split
2016-12-20 21:48:24 +00:00

50 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.10.1
pkgrel=1
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=('eafb06b4083a201fe22d310e897a19dd')
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
}