overlay/net-misc/expandurl-mastodon/expandurl-mastodon-9999.ebuild
tastytea aefc5886f5
net-misc/expandurl-mastodon: Fixed mastodon-cpp dependency.
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2019-02-28 18:08:27 +01:00

34 lines
732 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.30.1
>=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
}