overlay/net-im/gajim-omemo/gajim-omemo-9999.ebuild
Tobias Klaus 5abe2358ae
add gajim-omemo and dependencies
Package-Manager: Portage-2.3.11, Repoman-2.3.3
2017-10-16 23:59:13 +02:00

35 lines
845 B
Bash

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
DESCRIPTION="Gajim plugin for XEP proposal: OMEMO Encryption"
HOMEPAGE="https://dev.gajim.org/gajim/gajim-plugins/wikis/OmemoGajimPlugin"
inherit git-r3
EGIT_REPO_URI="https://dev.gajim.org/gajim/gajim-plugins.git"
if [[ "${PV}" = "9999" ]] ; then
KEYWORDS=""
else
EGIT_COMMIT="5a6d4d2679da188cae0323579c6ac9fa9b5a8dc9"
KEYWORDS="~amd64"
fi
LICENSE="GPL-3"
SLOT="0"
IUSE=""
DEPEND="dev-python/python-axolotl
dev-python/qrcode
dev-python/cryptography"
RDEPEND="${DEPEND}"
src_install() {
local PLUGIN_DIR="/usr/share/gajim/plugins"
local OMEMO_PLUGIN_DIR="${PLUGIN_DIR}/omemo"
dodir "${PLUGIN_DIR}"
dodir "${OMEMO_PLUGIN_DIR}"
cp -pPR "${S}"/omemo/* "${D}/${OMEMO_PLUGIN_DIR}" || die "Installing files failed"
}