void-packages/srcpkgs/notmuch/template

33 lines
868 B
Plaintext

# Template file for 'notmuch'
pkgname=notmuch
version=0.18
revision=1
hostmakedepends="pkg-config"
makedepends="xapian-core-devel gmime-devel talloc-devel"
build_style=gnu-configure
configure_args="--bashcompletiondir=/usr/share/bash-completion/completions --without-emacs"
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=09eec1954bf1552e2d39dcab99fcd43f1fa12103d69fa2e4b8148aff552c46c5
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.*"
}
}