summaryrefslogtreecommitdiffstats
path: root/extra/pidgin/Pkgfile
blob: 469a653259056be1d6cf09ee7ace2458d554edf7 (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
34
35
36
37
# 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
# Run on: gtkspell,gtk,libxml2,gnutls,nss,nspr,xorg-libxscrnsaver,gstreamer,startup-notification,hicolor-icon-theme,libidn,farsight2

name=pidgin
version=2.7.11
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-nm \
	--disable-cap \
	--disable-schemas-install \
	--disable-perl \
	--disable-tk \
	--enable-gnutls=yes \
	--disable-dbus \
	--disable-vv \
	--with-python=/usr/bin/python2
	 
	make
	make DESTDIR=$PKG install
}