diff --git a/srcpkgs/ksh-devel b/srcpkgs/ksh-devel new file mode 120000 index 00000000000..60be83d3078 --- /dev/null +++ b/srcpkgs/ksh-devel @@ -0,0 +1 @@ +ksh \ No newline at end of file diff --git a/srcpkgs/ksh/template b/srcpkgs/ksh/template index e0716b7d8a9..97a13e5918b 100644 --- a/srcpkgs/ksh/template +++ b/srcpkgs/ksh/template @@ -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 " 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 + } }