summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mcabber/APKBUILD16
1 files changed, 13 insertions, 3 deletions
diff --git a/testing/mcabber/APKBUILD b/testing/mcabber/APKBUILD
index 73f4cb477..301ff05c6 100644
--- a/testing/mcabber/APKBUILD
+++ b/testing/mcabber/APKBUILD
@@ -7,8 +7,9 @@ pkgdesc="A small Jabber console client"
url="http://www.lilotux.net/~mikael/mcabber/"
arch="all"
license="GPL2+"
-depends=""
+depends="beep"
depends_dev=""
+options="libtool"
makedepends=" loudmouth-dev
glib-dev
ncurses-dev
@@ -19,17 +20,18 @@ makedepends=" loudmouth-dev
enchant-dev
"
install=""
-subpackages="$pkgname-dev $pkgname-doc"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-example"
source="http://mcabber.com/files/$pkgname-$pkgver.tar.bz2"
_builddir="$srcdir"/$pkgname-$pkgver
build() {
cd "$_builddir"
./configure \
+ --disable-static \
--enable-hgcset \
--enable-enchant \
--enable-aspell \
- --enable-otr \
+ --enable-otr \
--prefix=/usr \
--mandir=/usr/share/man \
|| return 1
@@ -42,4 +44,12 @@ package() {
rm -f "$pkgdir"/usr/lib/*.la
}
+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"/mcabberrc.example || return 1
+ rm -f "$pkgdir"/usr/lib/*.la
+}
+
md5sums="fe96beab30f535d5d6270fd1719659b4 mcabber-0.10.1.tar.bz2"