aboutsummaryrefslogtreecommitdiffstats
path: root/community/pidgin-sipe/APKBUILD
blob: c73b12c7554514fd2d244df2401c076df603f187 (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
45
46
47
48
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pidgin-sipe
pkgver=1.22.1
pkgrel=0
pkgdesc="Pidgin protocol plugin to connect to MS Office Communicator"
url="http://sipe.sourceforge.net/"
arch="all"
license="GPL-2.0-or-later"
depends=""
depends_dev=""
makedepends="$depends_dev zlib-dev pidgin-dev e2fsprogs-dev intltool
	heimdal-dev libxml2-dev glib-dev nss-dev libnice-dev gstreamer0.10-dev
	gmime-dev"
install=""
subpackages="$pkgname-lang"
source="http://downloads.sourceforge.net/project/sipe/sipe/pidgin-sipe-$pkgver/pidgin-sipe-$pkgver.tar.bz2"

_builddir="$srcdir"/pidgin-sipe-$pkgver
prepare() {
	local i
	cd "$_builddir"
	for i in $source; do
		case $i in
		*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
		esac
	done
}

build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--enable-purple \
		--disable-telepathy \
		--without-vv \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

sha512sums="3695f9c5f9401913ba553743c7a711a7b5b809dabf2203f37d2fb92ac65ece0e786232790641c2835e1feda59a20f86c7ea4d396d18e96742101543438eb91e6  pidgin-sipe-1.22.1.tar.bz2"