aboutsummaryrefslogtreecommitdiffstats
path: root/main/pidgin-otr/APKBUILD
blob: 2020cf907b98af3c0bbb3aaacb2647f0645e9608 (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
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=pidgin-otr
pkgver=4.0.0
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"
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 --prefix=/usr
	make || return 1
}

package() {
        cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
	rm "$pkgdir"/usr/lib/pidgin/*.la || return 1
}

md5sums="eadb953376acc474e56041d4c12aa2c8  pidgin-otr-4.0.0.tar.gz"
sha256sums="d56b3f092dbe9ee6597641c7d2dd294884dc04ba47aaf4ec571cd54977df4691  pidgin-otr-4.0.0.tar.gz"
sha512sums="5f74da77d0c72576bb4a510b41bc70f041ab2555554b4d37376073f2edee8e1021c153cf5cc3d32bd276bdee643e9e7d881026628240a8757e5f8974c200f3d7  pidgin-otr-4.0.0.tar.gz"