Skip to content

Commit

Permalink
ksh: Update repository
Browse files Browse the repository at this point in the history
ksh2020 have been moved to https://github.com/ksh2020/ksh
att/ast#1466

Both ksh93 and ksh2020 are not mantained anymore.
  • Loading branch information
danyspin97 committed Mar 4, 2020
1 parent cbf88cc commit ebe2912
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 2 deletions.
7 changes: 7 additions & 0 deletions packages/app-shells/ksh/ksh-2020.0.0.exheres-0
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# Copyright 2019 Danilo Spinella <danyspin97@protonmail.com>
# Distributed under the terms of the GNU General Public License v2

require ksh

PLATFORMS="~amd64 ~x86"

11 changes: 9 additions & 2 deletions packages/app-shells/ksh/ksh.exlib
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
# Copyright 2019 Danilo Spinella <danyspin97@protonmail.com>
# Distributed under the terms of the GNU General Public License v2

require github [ user='att' pn='ast' ] meson
require github [ user='ksh2020' ] meson

export_exlib_phases src_install
export_exlib_phases src_prepare src_install

SUMMARY="The Korn Shell"

Expand Down Expand Up @@ -33,6 +33,13 @@ MESON_SRC_CONFIGURE_TESTS=(
# Tests are failing
RESTRICT="test"

ksh_src_prepare() {
meson_src_prepare

edo sed -i -e "s;install_prefix + '/bin';'/usr/$(exhost --target)/bin';" \
"${MESON_SOURCE}"/src/cmd/ksh93/meson.build
}

ksh_src_install() {
edo sed -i "$ a master_doc = 'index'" ../${PNV}/src/cmd/${PN}93/docs/conf.py
meson_src_install
Expand Down

0 comments on commit ebe2912

Please sign in to comment.