void-packages/srcpkgs/profanity/template
2014-08-25 19:53:16 +02:00

30 lines
911 B
Text

# Template file for 'profanity'
pkgname=profanity
version=0.4.4
revision=1
build_style=gnu-configure
hostmakedepends="pkg-config"
makedepends="glib-devel expat-devel ncurses-devel libgcrypt-devel libotr-devel libcurl-devel libstrophe-devel"
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=2fafc730702dc5254244ee7c0dbbfed600ffe9d27afd095b32e28500754cca4d
# Package build options
build_options="notify xscreensaver"
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