1 # Maintainer: Evangelos Foutras <evangelos@foutrelis.com>
2 # Contributor: Ionut Biru <ibiru@archlinux.org>
3 # Contributor: Andrea Scarpino <andrea@archlinux.org>
4 # Contributor: Alexander Fehr <pizzapunk gmail com>
5 # Contributor: Lucien Immink <l.immink@student.fnt.hvu.nl>
7 pkgname=('pidgin' 'libpurple' 'finch')
11 url="https://pidgin.im/"
13 makedepends=('startup-notification' 'gtkspell' 'libxss' 'nss' 'libsasl' 'libsm'
14 'libidn' 'libgadu' 'python' 'hicolor-icon-theme' 'farstream' 'tk'
15 'libnsl' 'avahi' 'ca-certificates' 'intltool' 'libnm' 'dbus-glib'
17 options=('!emptydirs')
18 source=(https://downloads.sourceforge.net/project/pidgin/Pidgin/$pkgver/$pkgname-$pkgver.tar.bz2{,.asc})
19 sha256sums=('454b1b928bc6bcbb183353af30fbfde5595f2245a3423a1a46e6c97a2df22810'
21 validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich <grim@reaperworld.com>
33 --disable-schemas-install \
34 --disable-gevolution \
40 --with-system-ssl-certs=/etc/ssl/certs
45 pkgdesc="Multi-protocol instant messaging client"
46 depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
47 'gst-plugins-base' 'gst-plugins-good' 'hicolor-icon-theme')
48 optdepends=('aspell: for spelling correction')
53 make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
55 make -C pidgin DESTDIR="$pkgdir" install
56 make -C doc DESTDIR="$pkgdir" install
58 # Remove files that are packaged in libpurle
59 make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
61 rm "$pkgdir/usr/share/man/man1/finch.1"
63 # https://bugs.archlinux.org/task/53770
64 # https://bugs.archlinux.org/task/69026
65 find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete
69 pkgdesc="IM library extracted from Pidgin"
70 depends=('farstream' 'libsasl' 'libidn' 'libnsl' 'libgadu' 'dbus-glib' 'nss'
72 optdepends=('avahi: Bonjour protocol support'
73 'ca-certificates: SSL CA certificates'
74 'python-dbus: for purple-remote and purple-url-handler'
75 'tk: Tcl/Tk scripting support')
79 for _dir in libpurple share/sounds share/ca-certs m4macros po; do
80 make -C "$_dir" DESTDIR="$pkgdir" install
83 # https://bugs.archlinux.org/task/53770
84 # https://bugs.archlinux.org/task/69026
85 find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete
89 pkgdesc="A ncurses-based messaging client"
90 depends=('libpurple' 'libgnt' 'libx11')
95 make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
97 make -C finch DESTDIR="$pkgdir" install
98 make -C doc DESTDIR="$pkgdir" install
100 # Remove files that are packaged in libpurle
101 make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
103 rm "$pkgdir"/usr/share/man/man1/pidgin.1
106 # vim:set ts=2 sw=2 et: