diff options
author | Johnothan King | 2024-02-22 21:20:20 -0800 |
---|---|---|
committer | Johnothan King | 2024-02-22 21:22:59 -0800 |
commit | 073fa868923896b81416043d0f22a646bef33299 (patch) | |
tree | 64a8d3ad9b18421f573c4ea4c5e6598da0e411b2 | |
parent | 471b62ccc727165a69a4e57226daa6dc486a2c55 (diff) | |
download | aur-073fa868923896b81416043d0f22a646bef33299.tar.gz |
Add missed autoloadable functions to installation
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | sample.kshrc | 6 |
3 files changed, 6 insertions, 10 deletions
@@ -1,6 +1,6 @@ pkgbase = ksh93-git pkgdesc = KornShell 93u+m, fork based on ksh 93u+ - pkgver = r1578.5948b420 + pkgver = r1602.6b624629 pkgrel = 1 url = https://github.com/ksh93/ksh/ install = ksh93.install @@ -15,6 +15,6 @@ pkgbase = ksh93-git source = ksh93::git+http://github.com/ksh93/ksh#branch=dev source = sample.kshrc sha512sums = SKIP - sha512sums = fbd5721696d08f429a999676340c9e84322517c4c1c519ac58009c00d61fc3b5ef42dfda1b2a385c6950d51df8e79de5fc6a36d9b393e1b2ace19e6b27a83495 + sha512sums = d201874dc09457457a544c8d5d4ddd193ee3384a3af0716daa786fd7dc5aa0660765a42361353e9e828c6b8414af463bc14f3c7398333bb6c6cc19549b7855ac pkgname = ksh93-git @@ -4,7 +4,7 @@ _pkgname='ksh93' pkgname="${_pkgname}-git" -pkgver=r1578.5948b420 +pkgver=r1602.6b624629 pkgrel=1 pkgdesc="KornShell 93u+m, fork based on ksh 93u+" arch=('x86_64') @@ -18,7 +18,7 @@ install='ksh93.install' source=("${_pkgname}::git+http://github.com/ksh93/ksh#branch=dev" 'sample.kshrc') sha512sums=('SKIP' - 'fbd5721696d08f429a999676340c9e84322517c4c1c519ac58009c00d61fc3b5ef42dfda1b2a385c6950d51df8e79de5fc6a36d9b393e1b2ace19e6b27a83495') + 'd201874dc09457457a544c8d5d4ddd193ee3384a3af0716daa786fd7dc5aa0660765a42361353e9e828c6b8414af463bc14f3c7398333bb6c6cc19549b7855ac') pkgver() { cd "${_pkgname}" @@ -71,7 +71,7 @@ package() { done # Install various ksh functions like autocd - for _fun in 'autocd' 'man' 'dirs' 'popd' 'pushd'; do + for _fun in 'autocd' 'cd' 'dirs' 'man' 'mcd' 'popd' 'pushd'; do install -Dm0644 "src/cmd/${_pkgname}/fun/${_fun}" "${pkgdir}/usr/share/ksh/functions/${_fun}" done diff --git a/sample.kshrc b/sample.kshrc index 17f95150a424..e613146f35cf 100644 --- a/sample.kshrc +++ b/sample.kshrc @@ -11,11 +11,7 @@ set -o emacs -o notify -o globstar FPATH=/usr/share/ksh/functions:~/.func # Optional: Autoload functions installed with ksh -#autoload autocd -#autoload man -#autoload dirs -#autoload pushd -#autoload popd +#autoload autocd cd dirs man mcd popd pushd # Optional: Set the precision of the time keyword to six and use %C #((.sh.version >= 20220606)) && TIMEFORMAT=$'\nreal\t%6lR\ncpu\t%6lC' |