-
-
Notifications
You must be signed in to change notification settings - Fork 142
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(*): post-transition cleanup (#5935)
remove uses of `gnuarch` in `source`, redundant `post_{install,remove}()` blocks
- Loading branch information
Showing
52 changed files
with
94 additions
and
261 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,12 +9,8 @@ maintainer=("Oren Klopfer <[email protected]>") | |
arch=('arm64' 'amd64') | ||
sha256sums_arm64=("fe6cf4b509307665af542a89454c2ecfbbd62670fc5a5d17bac7150a6f6a6776") | ||
sha256sums_amd64=("984d59a77fa6acab97ea725a966facd33725e0e09c2fee975397fe1c6379bd3d") | ||
if [[ ${CARCH} == arm64 ]]; then | ||
gnuarch="aarch64" | ||
else | ||
gnuarch="x86_64" | ||
fi | ||
source=("https://download.docker.com/linux/static/stable/${gnuarch}/${gives}-${pkgver}.tgz") | ||
source_amd64=("https://download.docker.com/linux/static/stable/x86_64/${gives}-${pkgver}.tgz") | ||
source_arm64=("https://download.docker.com/linux/static/stable/aarch64/${gives}-${pkgver}.tgz") | ||
|
||
build() { | ||
cd "${_archive}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,14 +9,15 @@ repology=("project: docker-compose") | |
maintainer=("Oren Klopfer <[email protected]>") | ||
sha256sums_amd64=("19c9deb6f4d3915f5c93441b8d2da751a09af82df62d55eab097c2cbfebd519f") | ||
sha256sums_arm64=("86fa6982c55e1bb741ac71ebbbb78c715224eeb46a820364ec6075cf87047d53") | ||
if [[ ${CARCH} == amd64 ]]; then | ||
gnuarch="x86_64" | ||
else | ||
gnuarch="aarch64" | ||
fi | ||
source=("https://github.com/docker/compose/releases/download/v${pkgver}/docker-compose-linux-${gnuarch}") | ||
source_amd64=("https://github.com/docker/compose/releases/download/v${pkgver}/docker-compose-linux-x86_64") | ||
source_arm64=("https://github.com/docker/compose/releases/download/v${pkgver}/docker-compose-linux-aarch64") | ||
|
||
package() { | ||
if [[ ${CARCH} == amd64 ]]; then | ||
gnuarch="x86_64" | ||
else | ||
gnuarch="aarch64" | ||
fi | ||
cd "${_archive}" | ||
mkdir -p "${pkgdir}/usr/libexec/docker/cli-plugins" | ||
chmod a+x ./"docker-compose-linux-${gnuarch}" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,8 @@ pkgver="3.2.0" | |
arch=('amd64' 'arm64') | ||
sha256sums_amd64=("4ea3e1ea8916a8003da95dbd6eef7a3a29802e637ed6a0f2aaaa2f1c98754915") | ||
sha256sums_arm64=("57f9620e5346bf045ca72b581cb106f9dc56841ac1ff0a3070188c49d5d0b573") | ||
if [[ ${CARCH} == amd64 ]]; then | ||
arch_suffix="x86_64" | ||
else | ||
arch_suffix="arm64" | ||
fi | ||
source=("https://github.com/exercism/cli/releases/download/v${pkgver}/exercism-${pkgver}-linux-${arch_suffix}.tar.gz") | ||
source_amd64=("https://github.com/exercism/cli/releases/download/v${pkgver}/exercism-${pkgver}-linux-x86_64.tar.gz") | ||
source_arm64=("https://github.com/exercism/cli/releases/download/v${pkgver}/exercism-${pkgver}-linux-arm64.tar.gz") | ||
pkgdesc="Go based command line tool for exercism.org" | ||
homepage='https://exercism.org' | ||
maintainer=("Andrew Barchuk <[email protected]>") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,8 @@ pkgver="11.10.5" | |
repology=("project: ${gives}") | ||
sha256sums_amd64=("64d264d503a669188e2b38db07490a8a7d82a114c0f18c6b18d4253e6e8af710") | ||
sha256sums_arm64=("695dc6185df33b5ee22b802f3ba1d0043c1ebe366cce2a897431dcd8e77fa922") | ||
if [[ ${CARCH} == amd64 ]]; then | ||
gnuarch="x86_" | ||
else | ||
gnuarch="aarch" | ||
fi | ||
source=("https://github.com/Floorp-Projects/Floorp/releases/download/v${pkgver}/${gives}-${pkgver}.linux-${gnuarch}64.tar.bz2") | ||
source_amd64=("https://github.com/Floorp-Projects/Floorp/releases/download/v${pkgver}/${gives}-${pkgver}.linux-x86_64.tar.bz2") | ||
source_arm64=("https://github.com/Floorp-Projects/Floorp/releases/download/v${pkgver}/${gives}-${pkgver}.linux-aarch64.tar.bz2") | ||
homepage='https://floorp.app/' | ||
pkgdesc="Firefox-based Browser build for keeping the Open, Private and Sustainable Web alive" | ||
maintainer=("Oren Klopfer <[email protected]>") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,12 +4,8 @@ pkgver="0.2.31" | |
arch=("amd64" "arm64") | ||
sha256sums_amd64=("2af82bd13c9fed05fd11682ddc646c436353c87519d91482350d7a0edbb59841") | ||
sha256sums_arm64=("b7d5b38c6e6e0d6907520db81caf66cefd086a34d959b9d1fcf7427510f63c60") | ||
if [[ ${CARCH} == amd64 ]]; then | ||
arch_suffix="x86_64" | ||
else | ||
arch_suffix="arm64" | ||
fi | ||
source=("https://github.com/superfly/flyctl/releases/download/v${pkgver}/flyctl_${pkgver}_Linux_${arch_suffix}.tar.gz") | ||
source_amd64=("https://github.com/superfly/flyctl/releases/download/v${pkgver}/flyctl_${pkgver}_Linux_x86_64.tar.gz") | ||
source_arm64=("https://github.com/superfly/flyctl/releases/download/v${pkgver}/flyctl_${pkgver}_Linux_arm64.tar.gz") | ||
pkgdesc="Command line tool for fly.io services" | ||
homepage='https://fly.io' | ||
maintainer=("Andrew Barchuk <[email protected]>") | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -45,7 +45,3 @@ Terminal=false | |
Categories=Development; | ||
END | ||
} | ||
|
||
post_remove() { | ||
sudo rm -rf "/opt/${gives}" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.