void-packages/srcpkgs/profanity/template
2014-03-30 10:26:24 +02:00

32 lines
1 KiB
Text

# Template file for 'profanity'
pkgname=profanity
version=0.4.0
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="glib-devel expat-devel ncurses-devel openssl-devel libcurl-devel libstrophe-git"
short_desc="A console based XMPP client"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-3"
homepage="http://www.profanity.im/"
distfiles="http://www.profanity.im/${pkgname}-${version}.tar.gz"
checksum=88d086ff686d15c07464b5b19fc72855cb10c318e564dfe0b2ce8780b1ffc009
# Package build options
build_options="notify xscreensaver"
desc_option_notify="Enable support for desktop notifications"
desc_option_xscreensaver="Enable support for libXScrnSaver to determine idle time"
if [ "$build_option_notify" ]; then
configure_args+=" --enable-notifications"
makedepends+=" libnotify-devel"
else
configure_args+=" --disable-notifications"
fi
if [ "$build_option_xscreensaver" ]; then
configure_args+=" --with-xscreensaver"
makedepends+=" libXScrnSaver-devel"
else
configure_args+=" --without-xscreensaver"
fi