Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add: shellharden-bin #783

Merged
merged 3 commits into from Feb 26, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
1 change: 1 addition & 0 deletions packagelist
Expand Up @@ -182,6 +182,7 @@ renegate
sed
shell-color-scripts
shellcheck-bin
shellharden-bin
shfmt-bin
slack-deb
smartgit
Expand Down
4 changes: 2 additions & 2 deletions packages/aomp-deb/aomp-deb.pacscript
Expand Up @@ -10,6 +10,6 @@ hash="34abb49981623f7009ce7e06cc7d6aa935c4fbad67e2876e5b58ef72063a63b8"
maintainer="cat-master21 <96554164+cat-master21@users.noreply.github.com>"

postinst() {
# patch to fix AOMP variable.
sudo patch | tee "/usr/lib/aomp/bin/mymcpu" < "./PACSTALL_patchesdir/fix_AOMP.patch" > /dev/null
# patch to fix AOMP variable.
sudo patch | tee "/usr/lib/aomp/bin/mymcpu" < "./PACSTALL_patchesdir/fix_AOMP.patch" > /dev/null
}
22 changes: 22 additions & 0 deletions packages/shellharden-bin/shellharden-bin.pacscript
@@ -0,0 +1,22 @@
name="shellharden-bin"
pkgname="shellharden"
version="4.1.1"
url="https://github.com/anordal/shellharden/releases/download/v${version}/shellharden-${version}-x86_64-linux-gnu"
pkgdir="${STOWDIR}/${name}"
breaks="${pkgname} ${pkgname}-git ${pkgname}-deb ${pkgname}-app"
gives="${pkgname}"
description="A syntax highlighter and a tool to semi-automate the rewriting of scripts to ShellCheck conformance"
hash="089342fca69bdcac5c236e9df434a98da5b9d36de145e51b776bcf73cd66bbeb"
maintainer="Henryws <hwengerstickel@pm.me>"

prepare() {
true
}

build() {
true
}

install() {
sudo install -Dm755 shellharden-"${version}"-x86_64-linux-gnu "${pkgdir}"/usr/bin/shellharden
}