void-packages/srcpkgs/sylpheed/template

27 lines
931 B
Bash

# Template build file for 'sylpheed'.
pkgname=sylpheed
version=3.7.0
revision=1
lib32disabled=yes
build_style=gnu-configure
configure_args="--disable-compface --disable-gtkspell --enable-ldap --with-gpgme-prefix=${XBPS_CROSS_BASE}/usr"
hostmakedepends="automake libtool pkg-config flex gettext-devel gtk+-devel gpgme-devel glib-devel"
makedepends="libfl-devel zlib-devel libressl-devel gtk+-devel gpgme-devel libldap-devel"
short_desc="GTK+ Lightweight and user-friendly e-mail client"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-2, LGPL-2.1"
homepage="http://sylpheed.sraoss.jp"
distfiles="http://sylpheed.sraoss.jp/sylpheed/v${version%.*}/$pkgname-$version.tar.bz2"
checksum=eb23e6bda2c02095dfb0130668cf7c75d1f256904e3a7337815b4da5cb72eb04
pre_configure() {
aclocal -I ac
libtoolize --force --copy
autoheader
automake --add-missing --foreign --copy
autoconf
}
post_install() {
rm -rf ${DESTDIR}/usr/include
}