summaryrefslogtreecommitdiffstats
path: root/pidgin/Pkgfile
blob: 122df32a87fd17d59a91b7fcecfadc4d90080fc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Description: Client messagerie instantanée
# URL:  http://www.pidgin.im
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: gtkspell, gtk, libxml2, p5-xml-parser, gnutls, nss, nspr, xorg-libxscrnsaver, xorg-libsm, gstreamer, startup-notification, hicolor-icon-theme, libidn, farsight2, dbus, networkmanager
# Run on: gtkspell,gtk,libxml2,gnutls,nss,nspr,xorg-libxscrnsaver,gstreamer,startup-notification,hicolor-icon-theme,libidn,farsight2,dbus

name=pidgin
version=2.10.2
release=1
source=(http://downloads.sourceforge.net/$name/$name-$version.tar.bz2)

build() {
	cd $name-$version
	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-gevolution \
	--disable-meanwhile \
	--disable-avahi \
	--enable-gtkspell \
	--disable-mono \
	--disable-tk \
	--disable-cap \
	--disable-schemas-install \
	--enable-gnutls=yes \
	--with-python=/usr/bin/python2
	 
	make
	make DESTDIR=$PKG install
	rm -rf $PKG/{etc,usr/lib/perl5}
}