notmuch: create new subpkgs: libnotmuch and libnotmuch-devel; install bash completions to correct dir.

This commit is contained in:
Juan RP 2014-01-25 11:51:42 +01:00
parent 48ce73c6cc
commit 3313fca907
4 changed files with 21 additions and 1 deletions

View File

@ -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

1
srcpkgs/libnotmuch Symbolic link
View File

@ -0,0 +1 @@
notmuch

1
srcpkgs/libnotmuch-devel Symbolic link
View File

@ -0,0 +1 @@
notmuch

View File

@ -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. <jan.schreib@gmail.com>"
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.*"
}
}