summaryrefslogtreecommitdiffstats
path: root/pidgin/Pkgfile
blob: 6e58d92ebad658c3c93fe132efc273aa018b4318 (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, farstream, dbus, networkmanager
# Run on: gtkspell,gtk,libxml2,gnutls,nss,nspr,xorg-libxscrnsaver,gstreamer,startup-notification,hicolor-icon-theme,libidn,farstream,dbus

name=pidgin
version=2.10.6
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 \
		--enable-avahi \
		--enable-gtkspell \
		--disable-mono \
		--enable-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}
}