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=('2b05246be208605edbb93ae9edc079583d449e2a9710db6d348d17f59020a4b7'
21 validpgpkeys=('40DE1DC7288FE3F50AB938C548F66AFFD9BDB729') # Gary Kramlich <grim@reaperworld.com>
29 --disable-schemas-install \
30 --disable-gevolution \
36 --with-system-ssl-certs=/etc/ssl/certs
41 pkgdesc="Multi-protocol instant messaging client"
42 depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
43 'gst-plugins-base' 'gst-plugins-good' 'hicolor-icon-theme')
44 optdepends=('aspell: for spelling correction')
49 make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
51 make -C pidgin DESTDIR="$pkgdir" install
52 make -C doc DESTDIR="$pkgdir" install
54 # Remove files that are packaged in libpurle
55 make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
57 rm "$pkgdir/usr/share/man/man1/finch.1"
59 # https://bugs.archlinux.org/task/53770
60 # https://bugs.archlinux.org/task/69026
61 find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete
65 pkgdesc="IM library extracted from Pidgin"
66 depends=('farstream' 'libsasl' 'libidn' 'libnsl' 'libgadu' 'dbus-glib' 'nss'
68 optdepends=('avahi: Bonjour protocol support'
69 'ca-certificates: SSL CA certificates'
70 'python-dbus: for purple-remote and purple-url-handler'
71 'tk: Tcl/Tk scripting support')
75 for _dir in libpurple share/sounds share/ca-certs m4macros po; do
76 make -C "$_dir" DESTDIR="$pkgdir" install
79 # https://bugs.archlinux.org/task/53770
80 # https://bugs.archlinux.org/task/69026
81 find "$pkgdir/usr/lib/perl5" -name perllocal.pod -delete
85 pkgdesc="A ncurses-based messaging client"
86 depends=('libpurple' 'libgnt' 'libx11')
91 make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
93 make -C finch DESTDIR="$pkgdir" install
94 make -C doc DESTDIR="$pkgdir" install
96 # Remove files that are packaged in libpurle
97 make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
99 rm "$pkgdir"/usr/share/man/man1/pidgin.1
102 # vim:set ts=2 sw=2 et: