void-packages/srcpkgs/notmuch/template
2014-05-12 20:51:05 +02:00

32 lines
868 B
Text

# 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.*"
}
}