mirror of
https://gitdl.cn/https://github.com/chakralinux/gtk.git
synced 2025-01-24 09:52:13 +08:00
54 lines
1.4 KiB
Bash
54 lines
1.4 KiB
Bash
pkgname=('pidgin')
|
|
pkgver=2.10.12
|
|
pkgrel=1
|
|
arch=('x86_64')
|
|
pkgdesc="Multi-protocol instant messaging client"
|
|
url="http://pidgin.im/"
|
|
license=('GPL')
|
|
depends=('libpurple' 'startup-notification' 'gtkspell' 'libxss' 'libsm'
|
|
'hicolor-icon-theme' 'farstream')
|
|
makedepends=('nss' 'libsasl' 'libidn' 'python3' 'avahi'
|
|
'tk' 'ca-certificates' 'intltool' 'networkmanager')
|
|
optdepends=('aspell: for spelling correction')
|
|
install=pidgin.install
|
|
source=("http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.bz2"
|
|
'pidgin-2.10.12-py3-fixes.patch')
|
|
md5sums=('14e0f5cfb2ed065e4dc80391a806ac76'
|
|
'3fd406b4847cee10cf3d158c36cbd184')
|
|
|
|
prepare() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i ../pidgin-2.10.12-py3-fixes.patch
|
|
autoreconf -vi
|
|
}
|
|
|
|
build() {
|
|
cd "$srcdir/$pkgname-$pkgver"
|
|
|
|
./configure \
|
|
--prefix=/usr \
|
|
--sysconfdir=/etc \
|
|
--disable-schemas-install \
|
|
--disable-meanwhile \
|
|
--disable-gnutls \
|
|
--enable-cyrus-sasl \
|
|
--disable-doxygen \
|
|
--enable-nm \
|
|
--with-python=/usr/bin/python3 \
|
|
--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
|
|
}
|