From 3313fca907060fdbd0e2710400155887392ed46f Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sat, 25 Jan 2014 11:51:42 +0100 Subject: [PATCH] notmuch: create new subpkgs: libnotmuch and libnotmuch-devel; install bash completions to correct dir. --- common/shlibs | 1 + srcpkgs/libnotmuch | 1 + srcpkgs/libnotmuch-devel | 1 + srcpkgs/notmuch/template | 19 ++++++++++++++++++- 4 files changed, 21 insertions(+), 1 deletion(-) create mode 120000 srcpkgs/libnotmuch create mode 120000 srcpkgs/libnotmuch-devel diff --git a/common/shlibs b/common/shlibs index 8300ac9704d..475721f9827 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1450,3 +1450,4 @@ libgoffice-0.8.so.8 goffice0.8-0.8.13_1 libgoffice-0.10.so.10 goffice-0.10.9_1 libc++.so.1 libcxx-3.4_1 libopenobex.so.2 openobex-1.7.1_1 +libnotmuch.so.3 libnotmuch-0.17_2 diff --git a/srcpkgs/libnotmuch b/srcpkgs/libnotmuch new file mode 120000 index 00000000000..67778b7eb37 --- /dev/null +++ b/srcpkgs/libnotmuch @@ -0,0 +1 @@ +notmuch \ No newline at end of file diff --git a/srcpkgs/libnotmuch-devel b/srcpkgs/libnotmuch-devel new file mode 120000 index 00000000000..67778b7eb37 --- /dev/null +++ b/srcpkgs/libnotmuch-devel @@ -0,0 +1 @@ +notmuch \ No newline at end of file diff --git a/srcpkgs/notmuch/template b/srcpkgs/notmuch/template index f75532f747f..cebee6bd3f2 100644 --- a/srcpkgs/notmuch/template +++ b/srcpkgs/notmuch/template @@ -1,13 +1,30 @@ # Template file for 'notmuch' pkgname=notmuch version=0.17 -revision=1 +revision=2 hostmakedepends="pkg-config" makedepends="xapian-core-devel gmime-devel talloc-devel" build_style=gnu-configure +configure_args="--bashcompletiondir=/usr/share/bash-completion/completions" short_desc="notmuch -- the mail indexer" maintainer="Jan S. " license="GPL-3" homepage="http://notmuchmail.org" distfiles="http://notmuchmail.org/releases/notmuch-0.17.tar.gz" checksum=d215e0e7e536c50bc0d8a455a58bb4ddabe0678cc637c4dcebdb57d5c4bcbe95 + +libnotmuch-devel_package() { + short_desc+=" - development files" + depends="libnotmuch>=${version}_${revision}" + pkg_install() { + vmove usr/include + vmove "usr/lib/*.so" + } +} + +libnotmuch_package() { + short_desc+=" - runtime library" + pkg_install() { + vmove "usr/lib/*.so.*" + } +}