# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me) # Contributor: Jonathan Steel # Contributor: Gicu Gorodenco # Contributor: MaLiK # Contributor: dpevp # Contributor: Magnus Therning # Contributor: Anthony pkgname=pidgin-sipe pkgver=1.25.0 pkgrel=3 pkgdesc="Third-party Pidgin plugin for Microsoft Office 365/Lync/LCS/OCS" arch=('x86_64') license=('GPL2') url="https://sipe.sourceforge.io" depends=('gmime' 'libpurple') makedepends=('intltool') optdepends=('freerdp: Desktop sharing' 'krb5: Kerberos support') conflicts=('pidgin-sipe-git') source=("https://downloads.sourceforge.net/project/sipe/sipe/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.bz2" "${pkgname}-fix-359.patch") sha256sums=('5a42810e447c3af2632961e88d7c683b6619aeda03accdcbaad222d8337ec676' '2a99e91d42433adbb166b2af5c433fa3a596124555cf3fef31141da8884e2cb4') build() { cd "${pkgname}-${pkgver}" # Fix #359: Incorrect build due to false negative configure checks patch -p1 <"${srcdir}/${pkgname}-fix-359.patch" autopoint --force AUTOPOINT="intltoolize --copy --force --automake" \ autoreconf --force --install # End fix #359 ./configure --prefix=/usr --disable-telepathy --with-vv make } package() { cd "${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }