aboutsummaryrefslogtreecommitdiffstats
path: root/community/pidgin-otr/APKBUILD
blob: 87436d854df8c374836408457e32486a94440b51 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pidgin-otr
pkgver=4.0.2
pkgrel=0
pkgdesc="Off The Record Messaging, an encryption plugin for pidgin to provide secure IM conversations"
url="http://otr.cypherpunks.ca/"
arch="all"
license="LGPL"
depends="pidgin"
makedepends="libotr-dev gtk+-dev intltool pidgin-dev"
install=
subpackages="$pkgname-lang"
source="http://www.cypherpunks.ca/otr/$pkgname-$pkgver.tar.gz"

_builddir="$srcdir/$pkgname-$pkgver"
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

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

md5sums="7ef14e1334a4bc80e5d530f9a3cfc626  pidgin-otr-4.0.2.tar.gz"
sha256sums="f4b59eef4a94b1d29dbe0c106dd00cdc630e47f18619fc754e5afbf5724ebac4  pidgin-otr-4.0.2.tar.gz"
sha512sums="6815f1d2be5786726602a924ae6ead5371543a53bd36231dc3239fa580f73a6136836df0c1beb64d83b76e6bd0d80ffe6750ca6e9ddd2a6a94841a9a678925ad  pidgin-otr-4.0.2.tar.gz"