summaryrefslogtreecommitdiff
path: root/extra/libotr/PKGBUILD
blob: a47c47a03b90446627d78cae1f418c0726f0d0cf (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
# $Id: PKGBUILD 149079 2012-02-05 16:55:15Z bisson $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Bug <Bug2000@gmail.com>

pkgname=libotr
pkgver=3.2.0
pkgrel=3
pkgdesc='Off-the-Record Messaging Library and Toolkit'
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
arch=('i686' 'x86_64' 'mips64el')
depends=('libgcrypt')
options=('!libtool')
source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz")
sha1sums=('e5e10b8ddaf59b0ada6046d156d0431cd2790db9')

build() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	./configure --prefix=/usr --mandir=/usr/share/man --disable-static
	make
}

package() {
	cd "${srcdir}/${pkgname}-${pkgver}"
	make DESTDIR="${pkgdir}" install
}