blob: 30a67c9d240f2ce6ccbd8e4e55c3b2efd39721a7 (
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
47
48
49
50
51
52
53
54
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=mcabber
pkgver=0.10.3
pkgrel=0
pkgdesc="A small Jabber console client"
url="http://www.lilotux.net/~mikael/mcabber/"
arch="all"
license="GPL2+"
depends="beep"
depends_dev=""
options="libtool"
makedepends="loudmouth-dev glib-dev ncurses-dev gpgme-dev aspell-dev
libotr3-dev libidn-dev enchant-dev"
install=""
subpackages="$pkgname-dev $pkgname-doc $pkgname-example"
source="http://mcabber.com/files/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
}
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
}
example() {
# Put the example file into a seperate package
mkdir -p "$subpkgdir"/usr/share/doc/"$pkgname"/example || return 1
mv "$_builddir"/mcabberrc.example \
"$subpkgdir"/usr/share/doc/"$pkgname"/example/mcabberrc.example || return 1
}
md5sums="f6b0a075ba678de15af0129653a553da mcabber-0.10.3.tar.bz2"
sha256sums="77466138496cc26db125145cc28dc4fc0df79827143b922dfb9f02eb0dc7fa6d mcabber-0.10.3.tar.bz2"
sha512sums="3f4c83dbe99f1e1981a89d2a9cdfbaf96b265aaabe133e41d562491557e0acc2d780ae88aa3e45eca9088318ef7d7b284f1df445d2b5afb139d5a247e111bc10 mcabber-0.10.3.tar.bz2"
|