mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 14:38:35 -06:00
Put quotes in echo
This commit is contained in:
parent
a5014b3840
commit
20747f9d02
6 changed files with 14 additions and 14 deletions
|
@ -20,15 +20,15 @@ version() {
|
|||
|
||||
package() {
|
||||
# Pull sources
|
||||
echo Pulling ${name} ${version}
|
||||
echo "Pulling ${name} ${version}"
|
||||
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}.tar.xz" -o ${name}.tar.xz
|
||||
# Build package
|
||||
echo Creating the package
|
||||
echo "Creating the package"
|
||||
tar -xf ${name}.tar.xz ${name}/dist
|
||||
# Binary
|
||||
mkdir -p "${pkgdir}/usr/share/cockpit"
|
||||
mv ${name}/dist "${pkgdir}/usr/share/cockpit/sensors"
|
||||
# Notice
|
||||
echo Make sure to run sensors-detect
|
||||
echo "Make sure to run sensors-detect"
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ version() {
|
|||
|
||||
package() {
|
||||
# Pull sources
|
||||
echo Pulling ${name} ${version}
|
||||
echo "Pulling ${name} ${version}"
|
||||
curl -L "https://github.com/${git_repo}/releases/latest/download/fzf-${version}-linux_amd64.tar.gz" -o ${name}.tar.gz
|
||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/bin/${name}-tmux" -o ${name}-tmux
|
||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/man/man1/${name}.1" -o ${name}.1
|
||||
|
@ -30,7 +30,7 @@ package() {
|
|||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/key-bindings.zsh" -o key-bindings.bash
|
||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/shell/key-bindings.fish" -o key-bindings.fish
|
||||
# Build package
|
||||
echo Creating the package
|
||||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binaries
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
|
@ -46,7 +46,7 @@ package() {
|
|||
command -v bash &> /dev/null && install -Dm644 key-bindings.bash "${pkgdir}/usr/share/${name}/key-bindings.bash"
|
||||
command -v zsh &> /dev/null && install -Dm644 key-bindings.zsh "${pkgdir}/usr/share/${name}/key-bindings.zsh"
|
||||
# Notice
|
||||
echo For key-binding and completion to work with fish, some manual intervention is required
|
||||
echo Look here for instructions: https://wiki.archlinux.org/title/fzf#fish
|
||||
echo "For key-binding and completion to work with fish, some manual intervention is required"
|
||||
echo "Look here for instructions: https://wiki.archlinux.org/title/fzf#fish"
|
||||
}
|
||||
|
|
@ -19,10 +19,10 @@ version() {
|
|||
|
||||
package() {
|
||||
# Pull sources
|
||||
echo Pulling ${name} ${version}
|
||||
echo "Pulling ${name} ${version}"
|
||||
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}_${version}_linux-static_${ARCH}.tar.gz" -o ${name}.tar.gz
|
||||
# Build package
|
||||
echo Creating the package
|
||||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binaries
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
|
|
|
@ -19,14 +19,14 @@ version() {
|
|||
|
||||
package() {
|
||||
# Pull sources
|
||||
echo Pulling ${name} ${version}
|
||||
echo "Pulling ${name} ${version}"
|
||||
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}-linux-${ARCH}.tar.gz" -o ${name}.tar.gz
|
||||
curl -L "https://raw.githubusercontent.com/${git_repo}/master/${name}.1" -o ${name}.1
|
||||
command -v fish &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.fish" -o ${name}.fish
|
||||
command -v zsh &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.zsh" -o ${name}.zsh
|
||||
command -v bash &> /dev/null && curl -L "https://raw.githubusercontent.com/${git_repo}/master/etc/${name}.bash" -o ${name}.bash
|
||||
# Build package
|
||||
echo Creating the package
|
||||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binary
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
|
|
|
@ -19,10 +19,10 @@ version() {
|
|||
|
||||
package() {
|
||||
# Pull sources
|
||||
echo Pulling ${name} ${version}
|
||||
echo "Pulling ${name} ${version}"
|
||||
curl -L "https://github.com/${git_repo}/releases/latest/download/${name}-${version}-x86_64-unknown-linux-musl.tar.gz" -o ${name}.tar.gz
|
||||
# Build package
|
||||
echo Creating the package
|
||||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
cd "./${name}-${version}-x86_64-unknown-linux-musl"
|
||||
# Binary
|
||||
|
|
|
@ -17,7 +17,7 @@ checksums=('a2380aff1904103317a92b61a2008e2018184de0a7ed58e2516bd1b3818a48bf')
|
|||
|
||||
package() {
|
||||
# Build package
|
||||
echo Creating the package
|
||||
echo "Creating the package"
|
||||
unzip -qq ${name}-${version}-bin.zip
|
||||
# Binary
|
||||
mkdir -p ${pkgdir}/opt
|
||||
|
|
Loading…
Reference in a new issue