You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/splatmoji/splatmoji-1.2.0.ebuild

37 lines
773 B

# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Quickly look up and input emoji and/or emoticons"
HOMEPAGE="https://github.com/cspeterson/splatmoji/"
SRC_URI="https://github.com/cspeterson/splatmoji/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
KEYWORDS="~amd64"
SLOT="0"
IUSE="json test"
RESTRICT="!test? ( test )"
DEPEND="test? ( app-misc/jq dev-util/shunit2 )"
RDEPEND="
app-shells/bash
json? ( app-misc/jq )
x11-misc/rofi
x11-misc/xdotool
x11-misc/xsel"
src_test() {
./test/unit_tests || die
}
src_install() {
dobin splatmoji
insinto /etc/xdg/splatmoji
doins splatmoji.config
insinto /usr/share/splatmoji
doins -r data
insinto /usr/lib/splatmoji
doins lib/functions
}