void-packages/srcpkgs/notmuch/template

30 lines
813 B
Text

# Template file for 'notmuch'
pkgname=notmuch
version=0.17
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.*"
}
}