ksh: update to 1.0.9.

This commit is contained in:
Leah Neukirchen 2024-07-02 15:07:54 +02:00
parent d520e70de5
commit 47e6b52ebd
2 changed files with 22 additions and 8 deletions

1
srcpkgs/ksh-devel Symbolic link
View File

@ -0,0 +1 @@
ksh

View File

@ -1,14 +1,14 @@
# Template file for 'ksh'
pkgname=ksh
reverts="2020.0.0_1"
version=1.0.8
version=1.0.9
revision=1
short_desc="AT&T's Korn shell (community branch ksh93u+m)"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="EPL-1.0"
homepage="https://github.com/ksh93/ksh"
distfiles="https://github.com/ksh93/ksh/archive/v${version}.tar.gz"
checksum=b46565045d0eb376d3e6448be6dbc214af454efc405d527f92cb81c244106c8e
checksum=c58d618b551c594580541a0759e32ea6ddadd7b7a84f9f3ebea2ffb9a5d9d580
nocross=yes
register_shell="/bin/ksh"
@ -32,10 +32,23 @@ do_check() {
do_install() {
vlicense LICENSE.md LICENSE
cd arch/*/
vbin bin/ksh ksh93
vbin bin/shcomp
vmkdir usr/share/ksh
vcopy fun usr/share/ksh/functions
vman man/man1/sh.1 ksh93.1
bin/package install ${DESTDIR}/usr
mv ${DESTDIR}/usr/bin/ksh ${DESTDIR}/usr/bin/ksh93
mv ${DESTDIR}/usr/share/man/man1/ksh.1 ${DESTDIR}/usr/share/man/man1/ksh93.1
#cd arch/*/
#vbin bin/ksh ksh93
#vbin bin/shcomp
#vmkdir usr/share/ksh
#vcopy fun usr/share/ksh/functions
#vman man/man1/sh.1 ksh93.1
}
ksh-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/share/man/man3
vmove usr/lib/*.so
}
}