void-packages/srcpkgs/notmuch/template
2014-03-22 02:40:02 +01:00

32 lines
852 B
Text

# Template file for 'notmuch'
pkgname=notmuch
version=0.17
revision=5
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/${pkgname}-${version}.tar.gz"
checksum=d215e0e7e536c50bc0d8a455a58bb4ddabe0678cc637c4dcebdb57d5c4bcbe95
only_for_archs="x86_64 i686"
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.*"
}
}