2014-02-03 14:53:03 +00:00
|
|
|
# Template file for 'profanity'
|
|
|
|
pkgname=profanity
|
2014-08-11 05:59:45 +00:00
|
|
|
version=0.4.3
|
|
|
|
revision=1
|
2014-02-03 14:53:03 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config"
|
2014-08-11 05:59:45 +00:00
|
|
|
makedepends="glib-devel expat-devel ncurses-devel libgcrypt-devel libotr-devel libcurl-devel libstrophe-git"
|
2014-02-03 14:53:03 +00:00
|
|
|
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"
|
2014-08-11 05:59:45 +00:00
|
|
|
checksum=ec1333116396ce1d3c48a66fec23bd3f0ad1327f6d47aaedb992e438c34c3a45
|
2014-02-03 15:10:15 +00:00
|
|
|
|
|
|
|
# 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
|