summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4f4e391a3972aaa77198c5cc984065634c7fe899 (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
# Maintainer: "Amhairghin" Oscar Garcia Amor (https://ogarcia.me)

pkgname=pidgin-sipe-git
pkgver=1.25.0.r9.g3db51111
pkgrel=1
pkgdesc="Third-party Pidgin plugin for Microsoft Office 365/Lync/LCS/OCS"
arch=('x86_64')
license=('GPL2')
url="https://sipe.sourceforge.net/"
depends=('gmime' 'libpurple')
makedepends=('git' 'intltool')
optdepends=('freerdp: Desktop sharing' 'krb5: Kerberos support')
provides=('pidgin-sipe')
conflicts=('pidgin-sipe')
source=("${pkgname}"::"git+https://repo.or.cz/siplcs.git#branch=mob")
sha256sums=('SKIP')

pkgver() {
  cd "${pkgname}"
  git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd "${pkgname}"

  ./autogen.sh

  ./configure --prefix=/usr --disable-telepathy --disable-quality-check --with-vv

  make
}

package() {
  cd "${pkgname}"

  make DESTDIR="${pkgdir}" install
}