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