-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ksh2020 have been moved to https://github.com/ksh2020/ksh att/ast#1466 Both ksh93 and ksh2020 are not mantained anymore.
- Loading branch information
1 parent
cbf88cc
commit ebe2912
Showing
2 changed files
with
16 additions
and
2 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 |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Copyright 2019 Danilo Spinella <[email protected]> | ||
# Distributed under the terms of the GNU General Public License v2 | ||
|
||
require ksh | ||
|
||
PLATFORMS="~amd64 ~x86" | ||
|
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 |
---|---|---|
|
@@ -2,9 +2,9 @@ | |
# Copyright 2019 Danilo Spinella <[email protected]> | ||
# 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" | ||
|
||
|
@@ -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 | ||
|