Skip to content

Commit

Permalink
add: watchexec (#5130)
Browse files Browse the repository at this point in the history
  • Loading branch information
raindev authored Dec 26, 2023
1 parent 65882b1 commit df883aa
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
1 change: 1 addition & 0 deletions packagelist
Original file line number Diff line number Diff line change
Expand Up @@ -461,6 +461,7 @@ waf
walc-app
warp
warpinator-deb
watchexec
webapp-manager
webapp-manager-deb
webcord-deb
Expand Down
23 changes: 23 additions & 0 deletions packages/watchexec/watchexec.pacscript
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
name="watchexec"
repology=("project: watchexec")
pkgver="1.24.2"
arch=('amd64' 'arm64')
if [[ ${CARCH} == amd64 ]]; then
hash="928d642408c62ad9d955939a5af62b07b7c5210d1c0bf3c974354ec41dc4e3fd"
arch_prefix="x86_64"
else
hash="67e2d7626231d1123ace6cb386af816d132858746dbd465aef1fca210b88785c"
arch_prefix="aarch64"
fi
url="https://github.com/watchexec/watchexec/releases/download/v${pkgver}/watchexec-${pkgver}-${arch_prefix}-unknown-linux-gnu.tar.xz"
pkgdesc="Executes commands in response to file modifications"
homepage='https://watchexec.github.io/'
maintainer="Andrew Barchuk <[email protected]>"

package() {
sudo install -Dm755 "./watchexec" -t "${pkgdir}/usr/bin"
sudo install -Dm644 "./watchexec.1" -t "${pkgdir}/usr/share/man/man1"
sudo install -Dm644 "./completions/bash" "${pkgdir}/usr/share/bash-completion/completions/${name}"
}

# vim:set ft=sh ts=2 sw=2 et:

0 comments on commit df883aa

Please sign in to comment.