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