summaryrefslogtreecommitdiff
path: root/extra/libotr/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'extra/libotr/PKGBUILD')
-rw-r--r--extra/libotr/PKGBUILD17
1 files changed, 12 insertions, 5 deletions
diff --git a/extra/libotr/PKGBUILD b/extra/libotr/PKGBUILD
index 7b6ed5843..87ede8fa3 100644
--- a/extra/libotr/PKGBUILD
+++ b/extra/libotr/PKGBUILD
@@ -1,22 +1,29 @@
-# $Id: PKGBUILD 198216 2013-10-30 13:31:00Z allan $
+# $Id: PKGBUILD 203477 2014-01-11 10:56:47Z andrea $
# 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
+pkgrel=4
pkgdesc='Off-the-Record Messaging Library and Toolkit'
url='http://www.cypherpunks.ca/otr/'
license=('GPL' 'LGPL')
arch=('i686' 'x86_64')
depends=('libgcrypt')
-source=("http://www.cypherpunks.ca/otr/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('8865e9011b8674290837afcf7caf90c492ae09cc')
+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 --disable-static
+ ./configure --prefix=/usr --mandir=/usr/share/man
make
}