void-packages/srcpkgs/profanity/template
2019-04-14 18:44:50 -03:00

26 lines
1.1 KiB
Bash

# Template file for 'profanity'
pkgname=profanity
version=0.6.0
revision=1
build_style=gnu-configure
configure_args="$(vopt_enable notify notifications) $(vopt_enable otr)
$(vopt_enable pgp) $(vopt_enable python python-plugins)
$(vopt_with xscreensaver)"
hostmakedepends="pkg-config $(vopt_if python python-devel)"
makedepends="libcurl-devel libglib-devel libstrophe-devel readline-devel
$(vopt_if notify libnotify-devel) $(vopt_if otr 'libotr-devel libgcrypt-devel')
$(vopt_if pgp gpgme-devel) $(vopt_if python python-devel)
$(vopt_if xscreensaver libXScrnSaver-devel)"
checkdepends="cmocka-devel"
short_desc="Console based XMPP client"
maintainer="Juan RP <xtraeme@voidlinux.org>"
license="GPL-3.0-or-later"
homepage="http://www.profanity.im/"
distfiles="https://github.com/boothj5/profanity/releases/download/${version}/profanity-${version}.tar.gz"
checksum=f1b2773b79eb294297686f3913e9489c20effae5e3a335c8956db18f6ee2f660
# Package build options
build_options="notify otr pgp python xscreensaver"
build_options_default="notify otr pgp xscreensaver"
desc_option_otr="Enable support for OTR encryption"
desc_option_pgp="Enable support for OpenPGP encryption"