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.3-6cf3137.tar.gz 6220695 BLAKE2B c56ac55cd938e3974b1724010ede3fad2dc3b45257d9f2777157d8b8c66e26f63687645babc198ee651edd86caf24153daa539d443cdc469f4a6e2256b5affab SHA512 35b289caacadfd8707c79aa1bd0fcc079ed21c4895d8eae03576d78e92b31b3c9749e0d83a10ee0b7adde807f0e24ade2bd16638ca875abf40f04547d5e269f6
DIST fish-4.9.3-mark-rust-bundle-6cf3137.tar.xz 25999208 BLAKE2B ce7ff92743cfebc9472629f58c38e250b5433f0f733855d390b60317876a797273fcf621a1919fa6800ad174b634a51a7b563ad0786ffba635954c08cb3bff62 SHA512 86e9063ea1279170fa504cbc62c66a3d664b22bf60e8a77bbb51dc35b28617f5b0eb66848fa0722fd54c58077e8beffbb16979697598400a8dfa7d427e60d433
67 changes: 67 additions & 0 deletions app-shells/fish/fish-4.9.3.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.3 -> fish-4.9.3-6cf3137.tar.gz
mirror://macaroni/fish-4.9.3-mark-rust-bundle-6cf3137.tar.xz -> fish-4.9.3-mark-rust-bundle-6cf3137.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.3-6cf3137"
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.3
doins "${FILESDIR}"/README.mark
}
pkg_postinst() {
xdg_pkg_postinst
}


# vim: filetype=ebuild