Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: update zpextract to ziextract #15

Merged
merged 1 commit into from
Dec 24, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion apr/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ The Zinit command executed will be equivalent to:

```zsh
zi as"null|monitor" dlink"https://.*/apr-%VERSION%.tar.bz2" \
atclone'zpextract --move --auto; print -P \\n%F{75}Building Apache Portable Runtime...\\n%f; ./configure \
atclone'ziextract --move --auto; print -P \\n%F{75}Building Apache Portable Runtime...\\n%f; ./configure \
--prefix="$ZPFX" >/dev/null && make >/dev/null && print -P \
\\n%F{75}Installing Apache Portable Runtime to $ZPFX...\\n%f && make install >/dev/null && print -P \
\\n%F{34}Installation of Apache Portable Runtime succeeded.%f || \
Expand Down
2 changes: 1 addition & 1 deletion apr/default.ices.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VERSION='1.6.1'

zinit \
as'null|readurl' \
atclone'zpextract --move --auto;
atclone'ziextract --move --auto;
print -P \\
%F{75}Building Apache Portable Runtime...\\
%f;
Expand Down
2 changes: 1 addition & 1 deletion apr/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
"lucid": "",
"as": "null|readurl",
"dlink": "https://.*/apr-%VERSION%.tar.bz2",
"atclone": "zpextract --move --auto; print -P \\n%F{75}Building Apache Portable Runtime...\\n%f; ./configure --prefix='$ZPFX' >/dev/null && make >/dev/null && print -P \\n%F{75}Installing Apache Portable Runtime to $ZPFX...\\n%f && make install >/dev/null && print -P \\n%F{34}Installation of Apache Portable Runtime succeeded.%f || print -P \\n%F{160}Installation of Apache Portable Runtime failed.%f",
"atclone": "ziextract --move --auto; print -P \\n%F{75}Building Apache Portable Runtime...\\n%f; ./configure --prefix='$ZPFX' >/dev/null && make >/dev/null && print -P \\n%F{75}Installing Apache Portable Runtime to $ZPFX...\\n%f && make install >/dev/null && print -P \\n%F{34}Installation of Apache Portable Runtime succeeded.%f || print -P \\n%F{160}Installation of Apache Portable Runtime failed.%f",
"atpull": "%atclone",
"nocompile": "!"
}
Expand Down
4 changes: 2 additions & 2 deletions firefox-dev/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ The Zinit command executed will be equivalent to:
```zsh
zinit id-as"firefox-dev" as"command" lucid" \
atclone'local ext="${${${(M)OSTYPE#linux*}:+tar.bz2}:-dmg}"; \
zpextract %ID% $ext --norm ${${OSTYPE:#darwin*}:+--move}'
ziextract %ID% $ext --norm ${${OSTYPE:#darwin*}:+--move}'
pick"firefox(|-bin)" atpull"%atclone" nocompile is-snippet for \
"https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=${${${(M)OSTYPE##linux}:+linux64}:-${${(M)OSTYPE##darwin}:+osx}}&lang=en-US"
```
Expand All @@ -50,7 +50,7 @@ The Zinit command executed will be equivalent to:
```zsh
zinit id-as"firefox-dev" as"null" lucid \
atclone'local ext="${${${(M)OSTYPE#linux*}:+tar.bz2}:-dmg}"; \
zpextract %ID% $ext --norm ${${OSTYPE:#darwin*}:+--move}'
ziextract %ID% $ext --norm ${${OSTYPE:#darwin*}:+--move}'
atpull"%atclone" nocompile is-snippet for \
"https://download.mozilla.org/?product=firefox-devedition-latest-ssl&os=${${${(M)OSTYPE##linux}:+linux64}:-${${(M)OSTYPE##darwin}:+osx}}&lang=en-US"
```
Expand Down
2 changes: 1 addition & 1 deletion firefox-dev/bgn.ices.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ zinit \
atclone'local -A map;
map=( '\''(#i)linux*'\'' tar.bz2 '\''(#i)(cygwin|win|wsl)*'\'' exe '\''(#i)darwin*'\'' dmg );
local ext="${map[(k)$OSTYPE]}";
zpextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move};
ziextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move};
command mv ff.pkg %ID%;' \
atpull'%atclone' \
is-snippet \
Expand Down
2 changes: 1 addition & 1 deletion firefox-dev/default.ices.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ zinit \
atclone'local -A map;
map=( '\''(#i)linux*'\'' tar.bz2 '\''(#i)(cygwin|win|wsl)*'\'' exe '\''(#i)darwin*'\'' dmg );
local ext="${map[(k)$OSTYPE]}";
zpextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move};
ziextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move};
command mv ff.pkg %ID%;' \
atpull'%atclone' \
is-snippet \
Expand Down
4 changes: 2 additions & 2 deletions firefox-dev/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"pick": "**/firefox(|-bin)(|.exe)",
"nocompile": "",
"mv": "%ID% → ff.pkg",
"atclone": "local -A map; map=( '(#i)linux*' tar.bz2 '(#i)(cygwin|win|wsl)*' exe '(#i)darwin*' dmg ); local ext=\"${map[(k)$OSTYPE]}\"; zpextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move}; command mv ff.pkg %ID%;",
"atclone": "local -A map; map=( '(#i)linux*' tar.bz2 '(#i)(cygwin|win|wsl)*' exe '(#i)darwin*' dmg ); local ext=\"${map[(k)$OSTYPE]}\"; ziextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move}; command mv ff.pkg %ID%;",
"atpull": "%atclone"
},
"bgn": {
Expand All @@ -59,7 +59,7 @@
"as": "null",
"nocompile": "",
"mv": "%ID% → ff.pkg",
"atclone": "local -A map; map=( '(#i)linux*' tar.bz2 '(#i)(cygwin|win|wsl)*' exe '(#i)darwin*' dmg ); local ext=\"${map[(k)$OSTYPE]}\"; zpextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move}; command mv ff.pkg %ID%;",
"atclone": "local -A map; map=( '(#i)linux*' tar.bz2 '(#i)(cygwin|win|wsl)*' exe '(#i)darwin*' dmg ); local ext=\"${map[(k)$OSTYPE]}\"; ziextract ff.pkg $ext --norm ${${OSTYPE:#(#i)(darwin|cygwin|win|wsl)*}:+--move}; command mv ff.pkg %ID%;",
"atpull": "%atclone",
"sbin": "**/firefox(.exe|-bin) -> firefox"
}
Expand Down
2 changes: 1 addition & 1 deletion svn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ The Zinit command executed will be equivalent to:

```zsh
zi as"null|monitor" dlink"https://.*/subversion-%VERSION%.tar.bz2" \
atclone'zpextract --move --auto; print -P \\n%F{75}Building Subversion...\\n%f; ./configure \
atclone'ziextract --move --auto; print -P \\n%F{75}Building Subversion...\\n%f; ./configure \
--prefix="$ZPFX" --with-apr='$ZPFX' >/dev/null && make >/dev/null && print -P \
\\n%F{75}Installing Subversion to $ZPFX...\\n%f && make install >/dev/null && print -P \
\\n%F{34}Installation of Subversion succeeded.%f || \
Expand Down
2 changes: 1 addition & 1 deletion svn/default.ices.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ VERSION='1.2.17'

zinit \
as'null|monitor' \
atclone'zpextract --move --auto;
atclone'ziextract --move --auto;
print -P \\
%F{75}Building Subversion...\\
%f;
Expand Down
2 changes: 1 addition & 1 deletion svn/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
"lucid": "",
"as": "null|monitor",
"dlink": "https://.*/subversion-%VERSION%.tar.bz2",
"atclone": "zpextract --move --auto; print -P \\n%F{75}Building Subversion...\\n%f; ./configure --prefix='$ZPFX' --with-apr='$ZPFX' >/dev/null && make >/dev/null && print -P \\n%F{75}Installing Subversion to $ZPFX...\\n%f && make install >/dev/null && print -P \\n%F{34}Installation of Subversion succeeded.%f || print -P \\n%F{160}Installation of Subversion failed.%f",
"atclone": "ziextract --move --auto; print -P \\n%F{75}Building Subversion...\\n%f; ./configure --prefix='$ZPFX' --with-apr='$ZPFX' >/dev/null && make >/dev/null && print -P \\n%F{75}Installing Subversion to $ZPFX...\\n%f && make install >/dev/null && print -P \\n%F{34}Installation of Subversion succeeded.%f || print -P \\n%F{160}Installation of Subversion failed.%f",
"atpull": "%atclone",
"nocompile": "!"
}
Expand Down
Loading