ksh: add alternatives.
This commit is contained in:
parent
6aae118a2e
commit
1ddc2affe9
1 changed files with 8 additions and 4 deletions
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'ksh'
|
# Template file for 'ksh'
|
||||||
pkgname=ksh
|
pkgname=ksh
|
||||||
version=2012.08.01
|
version=2012.08.01
|
||||||
revision=4
|
revision=5
|
||||||
_debpkgver=93u+20120801
|
_debpkgver=93u+20120801
|
||||||
wrksrc=${pkgname}-${_debpkgver}
|
wrksrc=${pkgname}-${_debpkgver}
|
||||||
register_shell="/bin/ksh"
|
register_shell="/bin/ksh"
|
||||||
|
@ -13,6 +13,11 @@ distfiles="${DEBIAN_SITE}/main/k/ksh/ksh_${_debpkgver}.orig.tar.gz"
|
||||||
checksum=052d598df7ed3cbd0fdf458b796262b0b59f4cd3305d970be1cc2287408dbfc9
|
checksum=052d598df7ed3cbd0fdf458b796262b0b59f4cd3305d970be1cc2287408dbfc9
|
||||||
nocross=yes
|
nocross=yes
|
||||||
|
|
||||||
|
alternatives="
|
||||||
|
ksh:ksh:/usr/bin/ksh93
|
||||||
|
ksh:ksh.1:/usr/share/man/man1/ksh93.1
|
||||||
|
"
|
||||||
|
|
||||||
build_options="static"
|
build_options="static"
|
||||||
|
|
||||||
case "$XBPS_TARGET_MACHINE" in
|
case "$XBPS_TARGET_MACHINE" in
|
||||||
|
@ -48,11 +53,10 @@ do_build() {
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
cd arch/*/
|
cd arch/*/
|
||||||
vbin bin/ksh
|
vbin bin/ksh ksh93
|
||||||
ln -s ksh ${DESTDIR}/usr/bin/ksh93
|
|
||||||
vbin bin/shcomp
|
vbin bin/shcomp
|
||||||
vmkdir usr/share/ksh
|
vmkdir usr/share/ksh
|
||||||
vcopy fun usr/share/ksh/functions
|
vcopy fun usr/share/ksh/functions
|
||||||
vman man/man1/sh.1 ksh.1
|
vman man/man1/sh.1 ksh93.1
|
||||||
vlicense ${FILESDIR}/LICENSE
|
vlicense ${FILESDIR}/LICENSE
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue