Browse Source

Small fixes in gmt ebuilds

master
Michael Uleysky 5 years ago
parent
commit
f28ca7b6cb
  1. 2
      sci-geosciences/gmt/gmt-5.4.4.ebuild
  2. 13
      sci-geosciences/gmt/gmt-9999.ebuild

2
sci-geosciences/gmt/gmt-5.4.4.ebuild

@ -121,5 +121,5 @@ src_install() {
rm "${ED}/usr/bin/gmtswitch" || die
# Rename bash completion file
mv "$ED/$(get_bashcompdir)/gmt_completion.bash" "$ED/$(get_bashcompdir)/gmt" || die
mv "${D}/$(get_bashcompdir)/gmt_completion.bash" "${D}/$(get_bashcompdir)/gmt" || die
}

13
sci-geosciences/gmt/gmt-9999.ebuild

@ -114,16 +114,7 @@ src_install() {
# Decompress manuals
if use doc || use htmldoc; then
pushd "${ED}/usr/share/man" || die
local d f
for d in man*; do
pushd $d || die
for f in *.gz; do
gunzip $f || die
done
popd || die
done
popd || die
find "${ED}/usr/share/man" -name "*.gz" -exec gunzip {} + || die
fi
if use multislot; then
@ -134,5 +125,5 @@ src_install() {
rm "${ED}/usr/bin/gmtswitch" || die
# Rename bash completion file
mv "$ED/$(get_bashcompdir)/gmt_completion.bash" "$ED/$(get_bashcompdir)/gmt" || die
mv "${D}/$(get_bashcompdir)/gmt_completion.bash" "${D}/$(get_bashcompdir)/gmt" || die
}

Loading…
Cancel
Save