37 lines
693 B
Bash
37 lines
693 B
Bash
# Copyright 1999-2020 Gentoo Authors
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
EAPI=6
|
|
|
|
inherit ltprune autotools
|
|
|
|
if [[ ${PV} == "9999" ]] ; then
|
|
EGIT_REPO_URI="https://github.com/sm00th/bitlbee-discord.git"
|
|
inherit git-r3
|
|
else
|
|
SRC_URI="https://github.com/sm00th/bitlbee-discord/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
|
KEYWORDS="~amd64 ~x86"
|
|
fi
|
|
|
|
DESCRIPTION="Discord plugin for BitlBee"
|
|
HOMEPAGE="https://github.com/sm00th/bitlbee-discord"
|
|
|
|
LICENSE="GPL-2+"
|
|
SLOT="0"
|
|
|
|
RDEPEND="
|
|
dev-libs/glib:2
|
|
>=net-im/bitlbee-3.5[plugins]"
|
|
DEPEND="${RDEPEND}
|
|
virtual/pkgconfig"
|
|
|
|
src_prepare() {
|
|
default
|
|
eautoreconf
|
|
}
|
|
|
|
src_install() {
|
|
default
|
|
prune_libtool_files --modules
|
|
}
|