diff options
author | Martin Väth <martin@mvath.de> | 2020-07-26 13:52:41 +0200 |
---|---|---|
committer | Martin Väth <martin@mvath.de> | 2020-07-26 13:52:41 +0200 |
commit | da692069ad515db87c2d977adcbaeb2d9d1c6daa (patch) | |
tree | 61dbae9d61de2353388454ee7d514d81be3a5180 /app-shells/runtitle/runtitle-2.11.ebuild | |
parent | app-shells/push: Version bump (diff) | |
download | mv-da692069ad515db87c2d977adcbaeb2d9d1c6daa.tar.gz mv-da692069ad515db87c2d977adcbaeb2d9d1c6daa.tar.bz2 mv-da692069ad515db87c2d977adcbaeb2d9d1c6daa.zip |
Bumps to add SPDX-License-Identifier
Signed-off-by: Martin Väth <martin@mvath.de>
Diffstat (limited to 'app-shells/runtitle/runtitle-2.11.ebuild')
-rw-r--r-- | app-shells/runtitle/runtitle-2.11.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/app-shells/runtitle/runtitle-2.11.ebuild b/app-shells/runtitle/runtitle-2.11.ebuild new file mode 100644 index 00000000..27211b03 --- /dev/null +++ b/app-shells/runtitle/runtitle-2.11.ebuild @@ -0,0 +1,28 @@ +# Copyright 2012-2020 Martin V\"ath +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +RESTRICT="mirror" + +DESCRIPTION="Scripts to run commands and set the hard status line (windows title)" +HOMEPAGE="https://github.com/vaeth/runtitle/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ + -- bin/* || die + default +} + +src_install() { + dobin bin/* + insinto /usr/share/zsh/site-functions + doins zsh/* + dodoc README.md +} |