overlay/net-misc/expandurl-mastodon/expandurl-mastodon-9999.ebuild
tastytea b04d33966a
net-misc/expandurl-mastodon: updated 9999
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Manifest-Sign-Key: 3555266864CA6D7FF45AA6E7CFC39497F1B26E07
2018-08-14 18:32:50 +02:00

31 lines
764 B
Bash

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