overlay/net-misc/expandurl-mastodon/expandurl-mastodon-9999.ebuild
tastytea eac47330ac
net-misc/expandurl-mastodon: Adjusted dependencies.
Package-Manager: Portage-2.3.62, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2019-04-21 04:13:47 +02:00

34 lines
733 B
Bash

# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit git-r3 cmake-utils
DESCRIPTION="Mastodon bot that expands shortened URLs."
HOMEPAGE="https://schlomp.space/tastytea/expandurl-mastodon"
EGIT_REPO_URI="https://schlomp.space/tastytea/expandurl-mastodon.git"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="
>=dev-cpp/mastodon-cpp-0.105.0
>=dev-cpp/curlpp-0.8.1
dev-libs/libxdg-basedir
"
DEPEND="
dev-util/cmake
app-text/asciidoc
${RDEPEND}
"
src_unpack() {
git-r3_src_unpack
}
src_install() {
cmake-utils_src_install
newinitd init/expandurl-mastodon.openrc expandurl-mastodon
echo "EXPANDURL_USER=\"expandurl\"" | newconfd - expandurl-mastodon
}