blob: 60eb913f88db2ce96bf8d0327dbde49bff72d253 (
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
|
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=mcabber
pkgver=1.0.3
pkgrel=0
pkgdesc="A small Jabber console client"
url="http://www.lilotux.net/~mikael/mcabber/"
arch="all"
license="GPL2+"
depends="beep"
depends_dev="$makedepends"
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::noarch"
source="http://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
}
example() {
pkgdesc="$pkgdesc (examples)"
# 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="c4aa104508238f3965f60c155c8beaac mcabber-1.0.3.tar.bz2"
sha256sums="44e6bb0aa0c399261fc212c386a3c2540db133e7593592247ee1621df659139a mcabber-1.0.3.tar.bz2"
sha512sums="678129259d27fe57d78289d340d5f6e074a1b7bac0bd0d97a6c41fa05182fa50a150e747e2e45c8d97e6b1f5fb8c14f146b9d13a08bafb3459184f36301cc71a mcabber-1.0.3.tar.bz2"
|