void-packages/srcpkgs/claws-mail/template
2018-08-27 10:02:04 -03:00

34 lines
1.3 KiB
Bash

# Template file for 'claws-mail'
pkgname=claws-mail
version=3.17.1
revision=1
build_style=gnu-configure
configure_args="--disable-static --disable-python-plugin --disable-perl-plugin"
hostmakedepends="pkg-config python-devel"
makedepends="poppler-glib-devel libarchive-devel libSM-devel
libnotify-devel libcanberra-devel gpgme-devel gnutls-devel
enchant-devel dbus-devel libetpan-devel libldap-devel
libsoup-gnome-devel startup-notification-devel"
short_desc="The user-friendly, lightweight, and fast email client"
maintainer="Jakub Skrzypnik <jot.skrzyp@gmail.com>"
license="GPL-3.0-or-later"
homepage="http://claws-mail.org"
distfiles="http://www.claws-mail.org/download.php?file=releases/claws-mail-${version}.tar.xz"
checksum=757b5f4163fb44f772b1453d1cc0b83387bb6b67ad55cc0694bdd4eff9ea76f2
nocross=yes
# TODO(dominikh): claws-mail is a mess. If we don't have python
# installed at all, the build process will fail, even if we don't want
# the python plugin. If we do have python installed, cross-compilation
# fails. It's probably possible to fix the configure script to
# cross-compile properly, but it's not worth the trouble. To me,
# anyway.
claws-mail-devel_package() {
depends="${makedepends}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove usr/lib/pkgconfig
}
}