aboutsummaryrefslogtreecommitdiff
path: root/extra/zsh/build
blob: 3496b37cc8f6d4dea26e6b023951863ae8e90aa0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#!/bin/sh -e

{
    printf "functions='Completion/*comp* "
    printf 'Completion/%s/*/* ' Base Linux Unix X Zsh
    printf \''\n'
} >> Src/Zle/complete.mdd

rm -f Completion/Linux/Command/_pkgtool
rm -f Completion/Linux/Command/_rpmbuild

./configure \
    --prefix=/usr \
    --enable-function-subdirs \
    --enable-fndir=/usr/share/zsh/functions \
    --enable-runhelpdir=/usr/share/zsh/help \
    --enable-scriptdir=/usr/share/zsh/scripts \
    --enable-additional-fpath=/usr/share/zsh/vendor-completions \
    --disable-gdbm

make
make DESTDIR="$1" install

clinst -Dm644 zprofile "$1/etc/zprofile"