blob: 9cb8abc54b1acffe8bf170785d07c7858c661c76 (
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
|
# $Id: PKGBUILD 203583 2014-01-13 17:12:14Z andyrtr $
# Maintainer: Gaetan Bisson <bisson@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
# Contributor: Bug <Bug2000@gmail.com>
pkgname=libotr
pkgver=4.0.0
pkgrel=5
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"
'kopete.patch')
sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc'
'55988c4f11b6852491a758ea7a5b7071e8959c55')
prepare() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -p1 -i ../kopete.patch # FS#38326
}
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --mandir=/usr/share/man
make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
make DESTDIR="${pkgdir}" install
}
|