mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 07:47:14 +08:00
46 lines
1.6 KiB
Bash
46 lines
1.6 KiB
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com
|
|
|
|
_pkgbase='pidgin'
|
|
pkgname='libpurple'
|
|
pkgver=2.10.7
|
|
pkgrel=1
|
|
pkgdesc="IM library extracted from Pidgin"
|
|
arch=('x86_64')
|
|
url="http://pidgin.im/"
|
|
license=('GPL')
|
|
makedepends=('startup-notification' 'libxss' 'nss' 'libsasl' 'python2' 'silc-toolkit' 'gstreamer0.10'
|
|
'farstream' 'avahi' 'tk' 'ca-certificates' 'intltool')
|
|
depends=('farstream' '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=('ea88976b9952e80b702b030489f94393')
|
|
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/${_pkgbase}-${pkgver}"
|
|
for dir in libpurple share/sounds share/ca-certs m4macros po
|
|
do make -C "${dir}" DESTDIR="${pkgdir}" install
|
|
done
|
|
}
|