forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Hans de Graaff <[email protected]>
- Loading branch information
Showing
2 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
DIST eselect-rails-0.26.tar.xz 1580 BLAKE2B 2440c57c853ed9cb99d1dd4cb5d6b72adcc5cd5e5c66f7b2b34b298152e8349c4e178645eb185ab771f5459e379465efa03ca4f42eb5ce50ff0305a4610b8270 SHA512 e7b064d00ca9d32e7fa2a837be0d247c2a109dfc7f8458e6ad96d3d685d1f7972fe64e34cf0c0b16c1ee20e91005f92bee46c98f3418c28c02ed0df234d954c9 | ||
DIST eselect-rails-0.27.tar.xz 1584 BLAKE2B 88e14963cf0afe7c708bd9f7a812fbe398e7fe06a5a964a50a2f9337c6ccea396ec55b139395e22ee093993be490bcb65bcde5d98c282ff3eca8eb0837e4a06d SHA512 11a4401a708ef069c4d280106c11e43bc0fd5460df6fadff12dc2e266ca0c0ef04587fd97d6feeb822636edcc2db0bb94b981a5fac15e96bb8ef5abcf8bd6ee6 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# Copyright 1999-2023 Gentoo Authors | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
EAPI=8 | ||
|
||
DESCRIPTION="Manages Ruby on Rails symlinks" | ||
HOMEPAGE="https://gitweb.gentoo.org/proj/ruby-scripts.git/tree/eselect-rails" | ||
SRC_URI="https://dev.gentoo.org/~graaff/ruby-team/${P}.tar.xz" | ||
|
||
LICENSE="GPL-2" | ||
SLOT="0" | ||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" | ||
IUSE="" | ||
|
||
RDEPEND=">=app-admin/eselect-1.2.0" | ||
|
||
S=${WORKDIR} | ||
|
||
src_prepare() { | ||
default | ||
|
||
# Fix/Add Prefix support | ||
sed -i -e 's/\${ROOT}/${EROOT}/' *.eselect || die | ||
} | ||
|
||
src_install() { | ||
insinto /usr/share/eselect/modules | ||
doins *.eselect | ||
} |