summaryrefslogtreecommitdiff
path: root/extra/libotr/PKGBUILD
blob: fefd8b62b36f87ffc5380769434e179dad3df618 (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
# $Id: PKGBUILD 198216 2013-10-30 13:31:00Z allan $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Bug <Bug2000@gmail.com>

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

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

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