From 4e5e07da99dd4c3e20168057126e3694314a670c Mon Sep 17 00:00:00 2001 From: Martin Väth Date: Sat, 9 Jul 2016 08:15:01 +0200 Subject: Bourne-compliant parameter substitution --- sys-apps/cpi/Manifest | 2 +- sys-apps/cpi/cpi-2.10.ebuild | 30 ------------------------------ sys-apps/cpi/cpi-2.11.ebuild | 30 ++++++++++++++++++++++++++++++ 3 files changed, 31 insertions(+), 31 deletions(-) delete mode 100644 sys-apps/cpi/cpi-2.10.ebuild create mode 100644 sys-apps/cpi/cpi-2.11.ebuild (limited to 'sys-apps/cpi') diff --git a/sys-apps/cpi/Manifest b/sys-apps/cpi/Manifest index cace6114..686829ef 100644 --- a/sys-apps/cpi/Manifest +++ b/sys-apps/cpi/Manifest @@ -1 +1 @@ -DIST cpi-2.10.tar.gz 3416 SHA256 67d6ea00b9817c1da523158ea61ed4441683343b9df83babdf1b707ac7d6d35f +DIST cpi-2.11.tar.gz 3417 SHA256 766b57e1efdff25acbeeef0d6b507066f8907cf62645bd27d183be33744aba7b diff --git a/sys-apps/cpi/cpi-2.10.ebuild b/sys-apps/cpi/cpi-2.10.ebuild deleted file mode 100644 index bd33c28f..00000000 --- a/sys-apps/cpi/cpi-2.10.ebuild +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=6 -RESTRICT="mirror" - -DESCRIPTION="A wrapper for cp -i -a, making use of diff" -HOMEPAGE="https://github.com/vaeth/cpi/" -SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="BSD" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -src_prepare() { - use prefix || sed -i \ - -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ - -- bin/cpi || die - eapply_user -} - -src_install() { - dobin bin/cpi - insinto /usr/bin - doins bin/mvi - insinto /usr/share/zsh/site-functions - doins zsh/* -} diff --git a/sys-apps/cpi/cpi-2.11.ebuild b/sys-apps/cpi/cpi-2.11.ebuild new file mode 100644 index 00000000..bd33c28f --- /dev/null +++ b/sys-apps/cpi/cpi-2.11.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +RESTRICT="mirror" + +DESCRIPTION="A wrapper for cp -i -a, making use of diff" +HOMEPAGE="https://github.com/vaeth/cpi/" +SRC_URI="https://github.com/vaeth/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +src_prepare() { + use prefix || sed -i \ + -e '1s"^#!/usr/bin/env sh$"#!'"${EPREFIX}/bin/sh"'"' \ + -- bin/cpi || die + eapply_user +} + +src_install() { + dobin bin/cpi + insinto /usr/bin + doins bin/mvi + insinto /usr/share/zsh/site-functions + doins zsh/* +} -- cgit v1.2.3-65-gdbad