mirror of
https://github.com/SinTan1729/lure-repo.git
synced 2024-12-25 06:28:37 -06:00
chg: Change install locations
This commit is contained in:
parent
41ac6f3ede
commit
b5a74429f6
11 changed files with 38 additions and 39 deletions
|
@ -1,6 +1,6 @@
|
|||
name='bat'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='A cat(1) clone with syntax highlighting and Git integration'
|
||||
homepage='https://github.com/sharkdp/bat'
|
||||
architectures=('amd64')
|
||||
|
@ -26,9 +26,9 @@ package() {
|
|||
tar -xzf "${name}.tar.gz" -C .
|
||||
cd "./${name}-${version}-x86_64-unknown-linux-musl"
|
||||
# Binary
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
# Manpage
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
# Autocomplete
|
||||
command -v fish &> /dev/null && install -Dm644 "./autocomplete/${name}.fish" "${pkgdir}/usr/share/fish/completions/${name}.fish"
|
||||
command -v zsh &> /dev/null && install -Dm644 "./autocomplete/${name}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${name}"
|
||||
|
|
|
@ -30,4 +30,3 @@ package() {
|
|||
mkdir -p "${pkgdir}/usr/share/cockpit"
|
||||
mv docker "${pkgdir}/usr/share/cockpit/"
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
name='croc'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='Easily and securely send things from one computer to another'
|
||||
homepage='https://github.com/schollz/croc'
|
||||
architectures=('amd64')
|
||||
|
@ -25,7 +25,7 @@ package() {
|
|||
echo Creating the package
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binary
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
# Autocomplete
|
||||
command -v zsh &> /dev/null && install -Dm644 "./zsh_autocomplete" "${pkgdir}/usr/share/zsh/site-functions/_${name}"
|
||||
command -v bash &> /dev/null && install -Dm644 "./bash_autocomplete" "${pkgdir}/usr/share/bash-completion/completions/${name}"
|
||||
|
|
10
fzf/lure.sh
10
fzf/lure.sh
|
@ -1,6 +1,6 @@
|
|||
name='fzf'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='A command-line fuzzy finder'
|
||||
homepage='https://github.com/junegunn/fzf'
|
||||
architectures=('amd64' 'arm')
|
||||
|
@ -33,11 +33,11 @@ package() {
|
|||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binaries
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}-tmux" "${pkgdir}/usr/local/bin/${name}-tmux"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
install -Dm755 "./${name}-tmux" "${pkgdir}/usr/bin/${name}-tmux"
|
||||
# Manpages
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}-tmux.1" "${pkgdir}/usr/local/share/man/man1/${name}-tmux.1"
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}-tmux.1" "${pkgdir}/usr/share/man/man1/${name}-tmux.1"
|
||||
# Autocomplete
|
||||
command -v zsh &>/dev/null && install -Dm644 "./${name}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${name}"
|
||||
command -v bash &>/dev/null && install -Dm644 "./${name}.bash" "${pkgdir}/usr/share/bash-completion/completions/${name}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name='gocryptfs'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='Encrypted overlay filesystem written in Go'
|
||||
homepage='https://github.com/rfjakob/gocryptfs'
|
||||
architectures=('amd64')
|
||||
|
@ -25,10 +25,10 @@ package() {
|
|||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binaries
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}-xray" "${pkgdir}/usr/local/bin/${name}-xray"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
install -Dm755 "./${name}-xray" "${pkgdir}/usr/bin/${name}-xray"
|
||||
# Manpages
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}-xray.1" "${pkgdir}/usr/local/share/man/man1/${name}-xray.1"
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}-xray.1" "${pkgdir}/usr/share/man/man1/${name}-xray.1"
|
||||
}
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name='htmlq'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='Like jq, but for HTML.'
|
||||
homepage='https://github.com/mgdm/htmlq'
|
||||
architectures=('amd64')
|
||||
|
@ -25,5 +25,5 @@ package() {
|
|||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binaries
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name='lf'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='A terminal file manager written in Go'
|
||||
homepage='https://github.com/gokcehan/lf'
|
||||
architectures=('all')
|
||||
|
@ -29,9 +29,9 @@ package() {
|
|||
echo "Creating the package"
|
||||
tar -xzf "${name}.tar.gz" -C .
|
||||
# Binary
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
# Manpage
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
# Autocomplete
|
||||
command -v fish &> /dev/null && install -Dm644 "./${name}.fish" "${pkgdir}/usr/share/fish/completions/${name}.fish"
|
||||
command -v zsh &> /dev/null && install -Dm644 "./${name}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${name}"
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name='lsd'
|
||||
version=VERSION
|
||||
release=1
|
||||
release=2
|
||||
desc='The next gen ls command'
|
||||
homepage='https://github.com/Peltoche/lsd'
|
||||
architectures=('amd64')
|
||||
|
@ -26,9 +26,9 @@ package() {
|
|||
tar -xzf "${name}.tar.gz" -C .
|
||||
cd "./${name}-${version}-x86_64-unknown-linux-musl"
|
||||
# Binary
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
|
||||
# Manpage
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1"
|
||||
install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
# Autocomplete
|
||||
command -v fish &> /dev/null && install -Dm644 "./autocomplete/${name}.fish" "${pkgdir}/usr/share/fish/completions/${name}.fish"
|
||||
command -v zsh &> /dev/null && install -Dm644 "./autocomplete/_${name}" "${pkgdir}/usr/share/zsh/site-functions/_${name}"
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
|
||||
name="movie-rename"
|
||||
version=2.1.4
|
||||
release=1
|
||||
release=2
|
||||
desc="A simple tool to rename movies, written in Rust."
|
||||
architectures=('amd64')
|
||||
homepage='https://github.com/SinTan1729/movie_rename'
|
||||
|
@ -11,7 +11,7 @@ sources_amd64=("${homepage}/releases/download/${version}/${name}.tar.gz")
|
|||
checksums_amd64=('6f93c6e442afe6a64e8cf6c641e1a20174f6aebd9a557f39ae13d1c41e4a6f6a')
|
||||
package() {
|
||||
# Binary
|
||||
install -Dm755 ./${name} "${pkgdir}/usr/local/bin/${name}"
|
||||
install -Dm755 ./${name} "${pkgdir}/usr/bin/${name}"
|
||||
# Manpage
|
||||
install -Dm644 ./${name}.1 "${pkgdir}/usr/local/man/man1/${name}.1"
|
||||
install -Dm644 ./${name}.1 "${pkgdir}/usr/share/man/man1/${name}.1"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
name='sejda-console'
|
||||
version=3.2.85
|
||||
release=2
|
||||
release=3
|
||||
desc='Shell interface for performing pdf manipulations'
|
||||
homepage='https://www.sejda.org'
|
||||
architectures=('all')
|
||||
|
@ -22,7 +22,7 @@ package() {
|
|||
mkdir -p ${pkgdir}/opt
|
||||
cp -r ${name}-${version} ${pkgdir}/opt/sejda-console/
|
||||
rm ${pkgdir}/opt/${name}/bin/${name}.bat
|
||||
mkdir -p ${pkgdir}/usr/local/bin
|
||||
ln -s /opt/${name}/bin/${name} ${pkgdir}/usr/local/bin/
|
||||
mkdir -p ${pkgdir}/usr/bin
|
||||
ln -s /opt/${name}/bin/${name} ${pkgdir}/usr/bin/
|
||||
}
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
name="topgrade"
|
||||
version=12.0.2
|
||||
release=1
|
||||
release=2
|
||||
desc="Invoke the upgrade procedure of multiple package managers"
|
||||
architectures=('amd64' 'aarch64' 'armv7')
|
||||
maintainer='SinTan1729'
|
||||
|
@ -16,10 +16,10 @@ checksums_aarch64=('683805723bcce9c0a7cc1ecf06edf49a6becaf24ea59a0e6d1bfc697b54a
|
|||
checksums_armv7=('5f4ceb90fe374d1c03bef0b9b3cdc995c5ea5e7d0cb5feb5c893a6cd50c13623')
|
||||
package() {
|
||||
# install binary
|
||||
install -Dm755 ./topgrade "$pkgdir/usr/local/bin/topgrade"
|
||||
install -Dm755 ./topgrade "$pkgdir/usr/bin/topgrade"
|
||||
# manpage
|
||||
./topgrade --gen-manpage | sed 's/.TH Topgrade 1/.TH Topgrade 8/' >topgrade.8
|
||||
install -Dm644 ./topgrade.8 "$pkgdir/usr/local/share/man/man8/topgrade.8"
|
||||
install -Dm644 ./topgrade.8 "$pkgdir/usr/share/man/man8/topgrade.8"
|
||||
# completions
|
||||
if $(command -v fish &>/dev/null) && [ $(echo $(fish --version | awk '{print $3}')$'\n'3.4.0 | sort -V | head -n1) != '3.4.0' ]; then
|
||||
./topgrade --gen-completion fish >topgrade.fish
|
||||
|
|
Loading…
Reference in a new issue