blob: 754b9e3160ffdf2f0028b7c5d83d36073148270e (
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
34
35
36
37
38
39
40
41
42
43
44
45
46
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=mcabber
pkgver=1.0.5
pkgrel=1
pkgdesc="A small Jabber console client"
url="https://mcabber.com"
arch="all"
license="GPL2+"
depends="beep"
options="libtool"
makedepends="loudmouth-dev glib-dev ncurses-dev gpgme-dev aspell-dev
libotr3-dev libidn-dev enchant-dev"
subpackages="$pkgname-dev $pkgname-doc"
source="https://mcabber.com/files/$pkgname-$pkgver.tar.bz2"
builddir="$srcdir/$pkgname-$pkgver"
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--disable-static \
--enable-hgcset \
--enable-enchant \
--enable-aspell \
--enable-otr \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
make || return 1
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
mkdir -p "$pkgdir"/usr/share/doc/$pkgname/examples
install -m644 mcabberrc.example \
"$pkgdir"/usr/share/doc/$pkgname/examples/mcabberrc.example \
|| return 1
}
md5sums="64904c19f81d8a7f93f44669d5d46244 mcabber-1.0.5.tar.bz2"
sha256sums="a0f200817d2b6196fe4d37918ce16f6fed83a3cef861d7165161e8b1cafcad47 mcabber-1.0.5.tar.bz2"
sha512sums="81b67899245902f495af7b44a5a0d710db69da731a00fb9ed84bdc0f88d5dc662f340817b1eaa843802c95105846234743eba52117f18bf12dd37a0da61d414d mcabber-1.0.5.tar.bz2"
|