summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Väth <martin@mvath.de>2016-10-31 23:29:27 +0100
committerMartin Väth <martin@mvath.de>2016-10-31 23:29:27 +0100
commit45a1c0ec08789c70a84fd541081b2cda638b560f (patch)
tree3e4857402067d85ed284db4a938942a6373bacac /sys-apps/starter/starter-3.0.ebuild
parentmedia-video/video-mv: Version bump (diff)
downloadmv-45a1c0ec08789c70a84fd541081b2cda638b560f.tar.gz
mv-45a1c0ec08789c70a84fd541081b2cda638b560f.tar.bz2
mv-45a1c0ec08789c70a84fd541081b2cda638b560f.zip
sys-apps/starter: Version bump
Diffstat (limited to 'sys-apps/starter/starter-3.0.ebuild')
-rw-r--r--sys-apps/starter/starter-3.0.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/sys-apps/starter/starter-3.0.ebuild b/sys-apps/starter/starter-3.0.ebuild
new file mode 100644
index 00000000..ad26f272
--- /dev/null
+++ b/sys-apps/starter/starter-3.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+RESTRICT="mirror"
+
+DESCRIPTION="POSIX shell script and function to schedule commands"
+HOMEPAGE="https://github.com/vaeth/starter/"
+SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+RDEPEND=">=app-shells/push-2.0
+ >=app-shells/runtitle-2.3"
+DEPEND=""
+
+src_prepare() {
+ use prefix || sed -i \
+ -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \
+ -- bin/* || die
+ eapply_user
+}
+
+src_install() {
+ local i
+ insinto /usr/bin
+ for i in bin/*
+ do if test -h "${i}"
+ then doins "${i}"
+ else dobin "${i}"
+ fi
+ done
+ insinto /usr/share/zsh/site-functions
+ doins zsh/*
+ dodoc README
+}