pantry/projects/zsh.sourceforge.io/package.yml
Jacob Heider 44dba213e5
more hardcoded versions (#1901)
* update(aspell)

* update(pango)

* update(binutils)

* update(gawk)

* 11 more
2023-05-08 11:17:44 -04:00

52 lines
1.2 KiB
YAML

distributable:
url: https://prdownloads.sourceforge.net/zsh/zsh/{{version.raw}}/zsh-{{version.raw}}.tar.xz
strip-components: 1
versions:
url: https://sourceforge.net/projects/zsh/files/zsh/
match: /files\/zsh\/\d+\.\d+(\.\d+)?\//
strip:
- /files\/zsh\//
- /\//
provides:
- bin/zsh
dependencies:
#TODO tighten these up
invisible-island.net/ncurses: '*'
pcre.org: '*'
build:
dependencies:
tea.xyz/gx/cc: c99
tea.xyz/gx/make: '*'
script: |
SHARE="{{tea.prefix}}/zsh.sourceforge.io"
./configure $ARGS \
--enable-site-fndir="$SHARE/share/zsh/site-functions" \
--enable-site-scriptdir="$SHARE/share/zsh/site-scripts"
make --jobs {{ hw.concurrency }} install
env:
ARGS:
- --prefix={{prefix}}
- --enable-fndir={{prefix}}/functions
- --enable-scriptdir={{prefix}}/scripts
- --enable-runhelpdir=#{pkgshare}/help
- --enable-cap
- --enable-maildir-support
- --enable-multibyte
- --enable-pcre
- --enable-zsh-secure-free
- --enable-unicode9
- --enable-etcdir=/etc
- --with-tcsetpgrp
- DL_EXT=bundle
test: |
test "$(zsh -c echo\ fancy-a-cuppa)" = 'fancy-a-cuppa'
zsh -c "printf -v hello -- '%s'"