summaryrefslogtreecommitdiff
path: root/sys-fs
diff options
context:
space:
mode:
authorJoonas Niilola <juippis@gentoo.org>2021-01-20 14:24:51 +0200
committerJoonas Niilola <juippis@gentoo.org>2021-01-20 16:13:37 +0200
commit4dcceb3a2cc6b2400f3c38fdf70592dc62a57828 (patch)
tree4b8a2eb8f02a2e4f0c106c6b9dd621d610a146a0 /sys-fs
parentsys-fs/tmsu: version bump 0.7.5 (diff)
downloadgentoo-4dcceb3a2cc6b2400f3c38fdf70592dc62a57828.tar.gz
gentoo-4dcceb3a2cc6b2400f3c38fdf70592dc62a57828.tar.bz2
gentoo-4dcceb3a2cc6b2400f3c38fdf70592dc62a57828.zip
sys-fs/tmsu: add missing dies to 0.7.5
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'sys-fs')
-rw-r--r--sys-fs/tmsu/tmsu-0.7.5.ebuild18
1 files changed, 9 insertions, 9 deletions
diff --git a/sys-fs/tmsu/tmsu-0.7.5.ebuild b/sys-fs/tmsu/tmsu-0.7.5.ebuild
index d74384c5ac5e..4659a209a474 100644
--- a/sys-fs/tmsu/tmsu-0.7.5.ebuild
+++ b/sys-fs/tmsu/tmsu-0.7.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -30,16 +30,21 @@ DEPEND="
src_prepare() {
default
- mkdir "${WORKDIR}/${P}/src/${EGO_PN}vendor/src"
- mv "${WORKDIR}/${P}/src/${EGO_PN}vendor/github.com" "${WORKDIR}/${P}/src/${EGO_PN}vendor/src/"
+ mkdir "${WORKDIR}/${P}/src/${EGO_PN}vendor/src" || die
+ mv "${WORKDIR}/${P}/src/${EGO_PN}vendor/github.com" "${WORKDIR}/${P}/src/${EGO_PN}vendor/src/" || die
}
src_compile() {
- pushd "${WORKDIR}/${P}/src/${EGO_PN}"
+ pushd "${WORKDIR}/${P}/src/${EGO_PN}" || die
GOPATH="${WORKDIR}/${P}/src/${EGO_PN}vendor/" emake
popd || die
}
+src_test() {
+ cd "${WORKDIR}/${P}/src/github.com/oniony/TMSU/tests" || die
+ ./runall || die
+}
+
src_install() {
dobin "${WORKDIR}/${P}/src/${EGO_PN}bin/tmsu"
dobin "${WORKDIR}/${P}/src/${EGO_PN}misc/bin/"*
@@ -47,8 +52,3 @@ src_install() {
insinto /usr/share/zsh/site-functions
doins "${WORKDIR}/${P}/src/${EGO_PN}misc/zsh/_tmsu"
}
-
-src_test() {
- cd "${WORKDIR}/${P}/src/github.com/oniony/TMSU/tests" || die
- ./runall || die
-}