gtk/pidgin/PKGBUILD

54 lines
1.4 KiB
Bash
Raw Normal View History

2013-04-29 06:59:19 +08:00
pkgname=('pidgin')
2016-03-29 01:19:32 +08:00
pkgver=2.10.12
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"
2016-03-29 01:19:32 +08:00
'pidgin-2.10.12-py3-fixes.patch')
md5sums=('14e0f5cfb2ed065e4dc80391a806ac76'
'3fd406b4847cee10cf3d158c36cbd184')
2014-10-24 23:55:16 +08:00
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
2016-03-29 01:19:32 +08:00
patch -Np1 -i ../pidgin-2.10.12-py3-fixes.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
}