Date: Wednesday, July 21, 2021 @ 22:55:10 Author: svenstaro Revision: 982769
upgpkg: watchexec 1.17.0-1 Modified: watchexec/trunk/PKGBUILD ----------+ PKGBUILD | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-07-21 22:37:52 UTC (rev 982768) +++ PKGBUILD 2021-07-21 22:55:10 UTC (rev 982769) @@ -2,7 +2,7 @@ # Contributor: Vlad M. <[email protected]> pkgname=watchexec -pkgver=1.15.3 +pkgver=1.17.0 pkgrel=1 pkgdesc="Executes commands in response to file modifications" url='https://github.com/watchexec/watchexec' @@ -10,21 +10,21 @@ makedepends=('cargo') arch=('x86_64') license=('Apache') -source=("$url/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('b8c2c6f8a90fbb4ee99a2be95972565ae0bb03ee3e2f6d5561fed9680db8d81e') +source=("https://github.com/watchexec/watchexec/archive/refs/tags/cli-v${pkgver}.tar.gz") +sha256sums=('efcb6027a0063cd57cba41553511ccb2c66cc79d8623d430ff276ce506aa96ff') build() { - cd "$pkgname-$pkgver" + cd "watchexec-cli-v$pkgver" cargo build --release --locked } check() { - cd "$pkgname-$pkgver" - cargo test --release --locked + cd "watchexec-cli-v$pkgver" + cargo test --locked } package() { - cd "$pkgname-$pkgver" + cd "watchexec-cli-v$pkgver" install -Dm644 "completions/zsh" "$pkgdir/usr/share/zsh/site-functions/_watchexec" install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname" install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
