gtk/pidgin/PKGBUILD

55 lines
1.4 KiB
Bash
Raw Normal View History

2013-04-29 06:59:19 +08:00
pkgname=('pidgin')
2018-04-27 04:02:18 +08:00
pkgver=2.13.0
2016-03-29 01:19:32 +08:00
pkgrel=1
2013-04-29 06:59:19 +08:00
arch=('x86_64')
pkgdesc="Multi-protocol instant messaging client"
url="http://pidgin.im/"
license=('GPL')
depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
2015-11-10 08:06:18 +08:00
'hicolor-icon-theme' 'farstream')
2016-03-29 01:19:32 +08:00
makedepends=('nss' 'libsasl' 'libidn' 'python3' 'avahi'
2013-04-29 06:59:19 +08:00
'tk' 'ca-certificates' 'intltool' 'networkmanager')
optdepends=('aspell: for spelling correction')
install=pidgin.install
2014-10-24 23:55:16 +08:00
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
2018-04-27 04:02:18 +08:00
'purple-remote-python3.patch')
md5sums=('423403494fe1951e47cc75231f743bb0'
'0709677de2cb5bc08b30e6b04ea0d3c5')
2014-10-24 23:55:16 +08:00
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
2018-04-27 04:02:18 +08:00
patch -Np1 -i ../purple-remote-python3.patch
2014-10-24 23:55:16 +08:00
autoreconf -vi
}
2013-04-29 06:59:19 +08:00
build() {
cd "$srcdir/$pkgname-$pkgver"
./configure \
2014-01-31 21:18:19 +08:00
--prefix=/usr \
--sysconfdir=/etc \
2013-04-29 06:59:19 +08:00
--disable-schemas-install \
--disable-meanwhile \
--disable-gnutls \
--enable-cyrus-sasl \
--disable-doxygen \
--enable-nm \
2016-03-29 01:19:32 +08:00
--with-python=/usr/bin/python3 \
2013-04-29 06:59:19 +08:00
--with-system-ssl-certs=/etc/ssl/certs
make
}
package(){
cd "$srcdir/pidgin-$pkgver"
# For linking
make -C libpurple DESTDIR="$pkgdir" install-libLTLIBRARIES
make -C pidgin DESTDIR="$pkgdir" install
make -C doc DESTDIR="$pkgdir" install
# Remove files that are packaged in libpurle
make -C libpurple DESTDIR="$pkgdir" uninstall-libLTLIBRARIES
}