summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2020-12-27 05:10:22 +0000
committerSam James <sam@gentoo.org>2020-12-27 05:10:22 +0000
commit159d51bb4829c81bae4e2cbcc3a18c83ca534cf4 (patch)
tree86032a52346ebce4f12a472ff5790a02fe834636 /x11-misc/splatmoji
parentx11-misc/splatmoji: Version bump (diff)
downloadgentoo-159d51bb4829c81bae4e2cbcc3a18c83ca534cf4.tar.gz
gentoo-159d51bb4829c81bae4e2cbcc3a18c83ca534cf4.tar.bz2
gentoo-159d51bb4829c81bae4e2cbcc3a18c83ca534cf4.zip
x11-misc/splatmoji: minor fixes
* Style changes * Die on test failure Package-Manager: Portage-3.0.9, Repoman-3.0.2 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'x11-misc/splatmoji')
-rw-r--r--x11-misc/splatmoji/splatmoji-1.2.0.ebuild11
1 files changed, 5 insertions, 6 deletions
diff --git a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
index e9b0b7f19ef1..acac0fd2d021 100644
--- a/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
+++ b/x11-misc/splatmoji/splatmoji-1.2.0.ebuild
@@ -13,8 +13,7 @@ SLOT="0"
IUSE="json test"
RESTRICT="!test? ( test )"
-DEPEND="test? ( dev-util/shunit2 app-misc/jq )"
-
+DEPEND="test? ( app-misc/jq dev-util/shunit2 )"
RDEPEND="
app-shells/bash
json? ( app-misc/jq )
@@ -22,6 +21,10 @@ RDEPEND="
x11-misc/xdotool
x11-misc/xsel"
+src_test() {
+ ./test/unit_tests || die
+}
+
src_install() {
dobin splatmoji
insinto /etc/xdg/splatmoji
@@ -31,7 +34,3 @@ src_install() {
insinto /usr/lib/splatmoji
doins lib/functions
}
-
-src_test() {
- ./test/unit_tests
-}