mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-10 20:54:37 +08:00
31 lines
720 B
Bash
31 lines
720 B
Bash
# maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=libotr
|
|
pkgver=4.0.0
|
|
pkgrel=2
|
|
pkgdesc='Off-the-Record Messaging Library and Toolkit.'
|
|
url='http://www.cypherpunks.ca/otr/'
|
|
license=('GPL' 'LGPL')
|
|
arch=('x86_64')
|
|
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
|
|
}
|