chg: Change install locations

This commit is contained in:
Sayantan Santra 2023-07-30 13:40:59 -05:00
parent 41ac6f3ede
commit b5a74429f6
Signed by: SinTan1729
GPG key ID: EB3E68BFBA25C85F
11 changed files with 38 additions and 39 deletions

View file

@ -1,6 +1,6 @@
name='bat' name='bat'
version=VERSION version=VERSION
release=1 release=2
desc='A cat(1) clone with syntax highlighting and Git integration' desc='A cat(1) clone with syntax highlighting and Git integration'
homepage='https://github.com/sharkdp/bat' homepage='https://github.com/sharkdp/bat'
architectures=('amd64') architectures=('amd64')
@ -26,9 +26,9 @@ 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
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}" install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
# Manpage # 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 # Autocomplete
command -v fish &> /dev/null && install -Dm644 "./autocomplete/${name}.fish" "${pkgdir}/usr/share/fish/completions/${name}.fish" 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}" command -v zsh &> /dev/null && install -Dm644 "./autocomplete/${name}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${name}"

View file

@ -30,4 +30,3 @@ package() {
mkdir -p "${pkgdir}/usr/share/cockpit" mkdir -p "${pkgdir}/usr/share/cockpit"
mv docker "${pkgdir}/usr/share/cockpit/" mv docker "${pkgdir}/usr/share/cockpit/"
} }

View file

@ -1,6 +1,6 @@
name='croc' name='croc'
version=VERSION version=VERSION
release=1 release=2
desc='Easily and securely send things from one computer to another' desc='Easily and securely send things from one computer to another'
homepage='https://github.com/schollz/croc' homepage='https://github.com/schollz/croc'
architectures=('amd64') architectures=('amd64')
@ -25,7 +25,7 @@ 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/bin/${name}"
# Autocomplete # Autocomplete
command -v zsh &> /dev/null && install -Dm644 "./zsh_autocomplete" "${pkgdir}/usr/share/zsh/site-functions/_${name}" 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}" command -v bash &> /dev/null && install -Dm644 "./bash_autocomplete" "${pkgdir}/usr/share/bash-completion/completions/${name}"

View file

@ -1,6 +1,6 @@
name='fzf' name='fzf'
version=VERSION version=VERSION
release=1 release=2
desc='A command-line fuzzy finder' desc='A command-line fuzzy finder'
homepage='https://github.com/junegunn/fzf' homepage='https://github.com/junegunn/fzf'
architectures=('amd64' 'arm') architectures=('amd64' 'arm')
@ -33,11 +33,11 @@ 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/bin/${name}"
install -Dm755 "./${name}-tmux" "${pkgdir}/usr/local/bin/${name}-tmux" install -Dm755 "./${name}-tmux" "${pkgdir}/usr/bin/${name}-tmux"
# Manpages # Manpages
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1" install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
install -Dm644 "./${name}-tmux.1" "${pkgdir}/usr/local/share/man/man1/${name}-tmux.1" install -Dm644 "./${name}-tmux.1" "${pkgdir}/usr/share/man/man1/${name}-tmux.1"
# Autocomplete # Autocomplete
command -v zsh &>/dev/null && install -Dm644 "./${name}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${name}" 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}" command -v bash &>/dev/null && install -Dm644 "./${name}.bash" "${pkgdir}/usr/share/bash-completion/completions/${name}"

View file

@ -1,6 +1,6 @@
name='gocryptfs' name='gocryptfs'
version=VERSION version=VERSION
release=1 release=2
desc='Encrypted overlay filesystem written in Go' desc='Encrypted overlay filesystem written in Go'
homepage='https://github.com/rfjakob/gocryptfs' homepage='https://github.com/rfjakob/gocryptfs'
architectures=('amd64') architectures=('amd64')
@ -25,10 +25,10 @@ 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/bin/${name}"
install -Dm755 "./${name}-xray" "${pkgdir}/usr/local/bin/${name}-xray" install -Dm755 "./${name}-xray" "${pkgdir}/usr/bin/${name}-xray"
# Manpages # Manpages
install -Dm644 "./${name}.1" "${pkgdir}/usr/local/share/man/man1/${name}.1" install -Dm644 "./${name}.1" "${pkgdir}/usr/share/man/man1/${name}.1"
install -Dm644 "./${name}-xray.1" "${pkgdir}/usr/local/share/man/man1/${name}-xray.1" install -Dm644 "./${name}-xray.1" "${pkgdir}/usr/share/man/man1/${name}-xray.1"
} }

View file

@ -1,6 +1,6 @@
name='htmlq' name='htmlq'
version=VERSION version=VERSION
release=1 release=2
desc='Like jq, but for HTML.' desc='Like jq, but for HTML.'
homepage='https://github.com/mgdm/htmlq' homepage='https://github.com/mgdm/htmlq'
architectures=('amd64') architectures=('amd64')
@ -25,5 +25,5 @@ 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/bin/${name}"
} }

View file

@ -1,6 +1,6 @@
name='lf' name='lf'
version=VERSION version=VERSION
release=1 release=2
desc='A terminal file manager written in Go' desc='A terminal file manager written in Go'
homepage='https://github.com/gokcehan/lf' homepage='https://github.com/gokcehan/lf'
architectures=('all') architectures=('all')
@ -29,9 +29,9 @@ 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/bin/${name}"
# Manpage # 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 # Autocomplete
command -v fish &> /dev/null && install -Dm644 "./${name}.fish" "${pkgdir}/usr/share/fish/completions/${name}.fish" 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}" command -v zsh &> /dev/null && install -Dm644 "./${name}.zsh" "${pkgdir}/usr/share/zsh/site-functions/_${name}"

View file

@ -1,6 +1,6 @@
name='lsd' name='lsd'
version=VERSION version=VERSION
release=1 release=2
desc='The next gen ls command' desc='The next gen ls command'
homepage='https://github.com/Peltoche/lsd' homepage='https://github.com/Peltoche/lsd'
architectures=('amd64') architectures=('amd64')
@ -26,9 +26,9 @@ 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
install -Dm755 "./${name}" "${pkgdir}/usr/local/bin/${name}" install -Dm755 "./${name}" "${pkgdir}/usr/bin/${name}"
# Manpage # 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 # Autocomplete
command -v fish &> /dev/null && install -Dm644 "./autocomplete/${name}.fish" "${pkgdir}/usr/share/fish/completions/${name}.fish" 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}" command -v zsh &> /dev/null && install -Dm644 "./autocomplete/_${name}" "${pkgdir}/usr/share/zsh/site-functions/_${name}"

View file

@ -1,7 +1,7 @@
# Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me> # Maintainer: Sintan Santorum <c1scu0hh at anonaddy dot me>
name="movie-rename" name="movie-rename"
version=2.1.4 version=2.1.4
release=1 release=2
desc="A simple tool to rename movies, written in Rust." desc="A simple tool to rename movies, written in Rust."
architectures=('amd64') architectures=('amd64')
homepage='https://github.com/SinTan1729/movie_rename' homepage='https://github.com/SinTan1729/movie_rename'
@ -11,7 +11,7 @@ sources_amd64=("${homepage}/releases/download/${version}/${name}.tar.gz")
checksums_amd64=('6f93c6e442afe6a64e8cf6c641e1a20174f6aebd9a557f39ae13d1c41e4a6f6a') checksums_amd64=('6f93c6e442afe6a64e8cf6c641e1a20174f6aebd9a557f39ae13d1c41e4a6f6a')
package() { package() {
# Binary # Binary
install -Dm755 ./${name} "${pkgdir}/usr/local/bin/${name}" install -Dm755 ./${name} "${pkgdir}/usr/bin/${name}"
# Manpage # Manpage
install -Dm644 ./${name}.1 "${pkgdir}/usr/local/man/man1/${name}.1" install -Dm644 ./${name}.1 "${pkgdir}/usr/share/man/man1/${name}.1"
} }

View file

@ -1,6 +1,6 @@
name='sejda-console' name='sejda-console'
version=3.2.85 version=3.2.85
release=2 release=3
desc='Shell interface for performing pdf manipulations' desc='Shell interface for performing pdf manipulations'
homepage='https://www.sejda.org' homepage='https://www.sejda.org'
architectures=('all') architectures=('all')
@ -22,7 +22,7 @@ package() {
mkdir -p ${pkgdir}/opt mkdir -p ${pkgdir}/opt
cp -r ${name}-${version} ${pkgdir}/opt/sejda-console/ cp -r ${name}-${version} ${pkgdir}/opt/sejda-console/
rm ${pkgdir}/opt/${name}/bin/${name}.bat rm ${pkgdir}/opt/${name}/bin/${name}.bat
mkdir -p ${pkgdir}/usr/local/bin mkdir -p ${pkgdir}/usr/bin
ln -s /opt/${name}/bin/${name} ${pkgdir}/usr/local/bin/ ln -s /opt/${name}/bin/${name} ${pkgdir}/usr/bin/
} }

View file

@ -1,6 +1,6 @@
name="topgrade" name="topgrade"
version=12.0.2 version=12.0.2
release=1 release=2
desc="Invoke the upgrade procedure of multiple package managers" desc="Invoke the upgrade procedure of multiple package managers"
architectures=('amd64' 'aarch64' 'armv7') architectures=('amd64' 'aarch64' 'armv7')
maintainer='SinTan1729' maintainer='SinTan1729'
@ -16,10 +16,10 @@ checksums_aarch64=('683805723bcce9c0a7cc1ecf06edf49a6becaf24ea59a0e6d1bfc697b54a
checksums_armv7=('5f4ceb90fe374d1c03bef0b9b3cdc995c5ea5e7d0cb5feb5c893a6cd50c13623') checksums_armv7=('5f4ceb90fe374d1c03bef0b9b3cdc995c5ea5e7d0cb5feb5c893a6cd50c13623')
package() { package() {
# install binary # install binary
install -Dm755 ./topgrade "$pkgdir/usr/local/bin/topgrade" install -Dm755 ./topgrade "$pkgdir/usr/bin/topgrade"
# manpage # manpage
./topgrade --gen-manpage | sed 's/.TH Topgrade 1/.TH Topgrade 8/' >topgrade.8 ./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 # 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 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 ./topgrade --gen-completion fish >topgrade.fish