summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: e580eceede57f829a91f1ff198c26b26ab19294e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)
# Contributor: Jonathan Steel <jsteel at archlinux.org>
# Contributor: Gicu Gorodenco <cyclopsihus@gmail.com>
# Contributor: MaLiK <malik_cjm@o2.pl>
# Contributor: dpevp <daniel.plaza.espi@gmail.com>
# Contributor: Magnus Therning <magnus@therning.org>
# Contributor: Anthony <anthony@littlegno.me>

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
}