Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions app-shells/fish/Manifest
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ DIST fish-4.5.0-3478f78.tar.gz 5745990 BLAKE2B b9178cba5489f534186c4cb6b81f1e2d3
DIST fish-4.5.0-mark-rust-bundle-3478f78.tar.xz 12498428 BLAKE2B a08a6876ce897d5e177344bab7768d2f5e42dc48832b0d59ae66f286218d1a3bee4da50febea8042503a607d869cea2919e7c6119cbe12302146735766672460 SHA512 2b56b8283fea314575ef83dc4c7ca9bc3515388dd0c6eefc014145265a65a5bffb26a5b303ba89702563f9f03c2c1fbb151ebb802b2837f3fc6f6ee98becade6
DIST fish-4.6.0-c7ecc3b.tar.gz 6469723 BLAKE2B d8a4ade0cc93765c78324c36f9f579e07652318aed7e90ef492e921b7b8a405a67c1e4efb017d6f72fadbea0e2e7241297aee57eee4cebc2629150f9b6944c6b SHA512 cbeadf0ac8c7f0e10b0453e4024ddbd3f572066d62af9e45931b8b76d0ba7726647eb9c6ca821c4246d7486d8eef83d513b9a56f251db0745a515d32e10c8e7b
DIST fish-4.6.0-mark-rust-bundle-c7ecc3b.tar.xz 12498856 BLAKE2B 6b8431d48ff0ef77532d3a182a173dfc75a8139991271362f3d408828666de82915cd11183c9230b41120bdfa4591275cb45a7c1a6c35333bc3e8c745779cedb SHA512 18206f8e10ca2c6a9e9760d536469fa8880669ebde7edcb0945487611115447382b01a501d1fbdea93dcd0f508f04555b4458e71f9d5611633a527bff6d95535
DIST fish-4.9.2-e7c3922.tar.gz 6221357 BLAKE2B 2d3b21d6df581d8e975e5cb38a75cd0e958891e6d96afac19c25b0ef71ffe7fbe5e488cfee1ad29ceff1e4d2a266c4ed5ca8d8daf10404e6b347e99e20dc4ede SHA512 c8c578ea1528653984a3e5f84e98f70ac76ad17c79f30990f4efdf7cbcadbb7ad12187d8631603f6f22902919fd550a65d8b8f052664eec21d1309e30ee6c66a
DIST fish-4.9.2-mark-rust-bundle-e7c3922.tar.xz 25999180 BLAKE2B d91cef456b7a8f7c0df75fbf574ace6897fe3dc114a35cc934fac6fe3bd5454853ecd9da8308eac7bb733e0fccd6e7acf22c13a0065d56e4e6911815bc43ec1a SHA512 d132cd5dedeb8472a40f56605874967f8d27f3cad670e8421b297fcb0daf680abdd3a6e9edc73234fd95105f7bb79b871ef2efdb3c7a2f523ba40e6eadf16c98
67 changes: 67 additions & 0 deletions app-shells/fish/fish-4.9.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# Distributed under the terms of the GNU General Public License v2
# Autogen by MARK Devkit

EAPI=7
CMAKE_BUILD_TYPE=RelWithDebInfo
inherit cmake cargo readme.gentoo-r1 xdg

DESCRIPTION="Friendly Interactive SHell"
HOMEPAGE="http://fishshell.com/"
SRC_URI="
https://api.github.com/repos/fish-shell/fish-shell/tarball/4.9.2 -> fish-4.9.2-e7c3922.tar.gz
mirror://macaroni/fish-4.9.2-mark-rust-bundle-e7c3922.tar.xz -> fish-4.9.2-mark-rust-bundle-e7c3922.tar.xz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="*"
IUSE="nls"
RDEPEND="sys-libs/ncurses

"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )

"
src_unpack() {
cargo_src_unpack
}
post_src_unpack() {
if [ -e ${S} ] ; then
rm -rf ${S}
fi
mv fish-shell-fish-shell-* ${S}
}
src_prepare() {
cmake_src_prepare
}
src_configure() {
export FISH_BUILD_VERSION="4.9.2-e7c3922"
local mycmakeargs=(
-DCMAKE_INSTALL_BINDIR="${EPREFIX}/bin"
-DCMAKE_INSTALL_SYSCONFDIR="${EPREFIX}/etc"
-DCMAKE_INSTALL_LIBDIR="${EPREFIX}/lib"
-DBUILD_SHARED_LIBS=True
-DWITH_DOCS=OFF
-DWITH_MESSAGE_LOCALIZATION="$(usex nls)"
)
cmake_src_configure
}
src_compile() {
local -x PREFIX="${EPREFIX}/usr"
local -x CMAKE_WITH_GETTEXT="$(usex nls 1 0)"
local -x SYSCONFDIR="${EPREFIX}/etc"
local -x FISH_BUILD_DOCS
FISH_BUILD_DOCS=0
cargo_src_compile
}
src_install() {
cmake_src_install
keepdir /usr/share/fish/vendor_{completions,conf,functions}.d
insinto /usr/share/doc/fish-4.9.2
doins "${FILESDIR}"/README.mark
}
pkg_postinst() {
xdg_pkg_postinst
}


# vim: filetype=ebuild