1 # Maintainer: Jonathan Schmidt <j.schmidt@archlinux.us>
5 pkgdesc="Pidgin fork providing minor GUI enhancements (formerly funpidgin)"
7 url="http://funpidgin.sf.net"
9 depends=('gtk2' 'startup-notification' 'hicolor-icon-theme' 'libxss' 'dbus-glib'
10 'farsight2' 'libsasl' 'nss' 'silc-toolkit' 'gconf>=2.18.0.1-4'
12 makedepends=('subversion')
13 optdepends=('gstreamer0.10-good: to play sounds'
14 'avahi: Bonjour protocol support'
15 'ca-certificates: SSL CA certificates'
16 'tk: Tcl/Tk scripting support'
17 'gtkspell: for spelling error highlighting'
18 'aspell: for spelling correction')
19 provides=('carrier' 'libpurple=2.6.4' 'pidgin' 'finch')
20 conflicts=('carrier' 'libpurple' 'pidgin' 'finch')
21 options=(!libtool !emptydirs)
22 install=carrier-svn.install
23 source=(oscar-fix.patch)
24 md5sums=(4722762ee279256d06033e57b0dee9de)
26 _svntrunk=https://funpidgin.svn.sourceforge.net/svnroot/funpidgin/carrier/trunk
32 if [ -d $_svnmod/.svn ]; then
33 (cd $_svnmod && svn up -r $pkgver)
35 svn co $_svntrunk --config-dir ./ -r $pkgver $_svnmod
38 msg "SVN checkout done or server timeout"
40 rm -rf "$srcdir/$_svnmod-build"
41 cp -r "$srcdir/$_svnmod" "$srcdir/$_svnmod-build"
42 cd "$srcdir/$_svnmod-build"
44 #msg "Applying Carrier patches..."
45 #quilt push -a || return 1
47 msg "Patching AIM/ICQ to fix garbling of messages from mobile users..."
48 patch -Np0 -i $startdir/oscar-fix.patch || return 1
50 msg "Starting make..."
53 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
54 --disable-schemas-install --enable-cyrus-sasl --disable-doxygen \
55 --disable-gnutls --with-system-ssl-certs=/etc/ssl/certs \
56 --disable-meanwhile --disable-perl --disable-tk --disable-tcl \
57 --disable-gtkspell --disable-avahi --disable-nm \
58 --disable-gevolution --disable-nls --disable-idn \
59 --disable-gestures || return 1
61 make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="$pkgdir/" install || return 1
63 install -m755 -d "$pkgdir"/usr/share/gconf/schemas
64 gconf-merge-schema "$pkgdir"/usr/share/gconf/schemas/${pkgname}.schemas \
65 "$pkgdir"/etc/gconf/schemas/*.schemas || return 1
66 rm -f "$pkgdir"/etc/gconf/schemas/*.schemas