wayfreeze

This commit is contained in:
Ryan Hughes committed 2026-05-08 01:04:52 -04:00
1 parent a1f44f3df5
commit 22e82c3c1c
2 files changed
+2

No files matched your search

-5
View File
@@ -1,5 +0,0 @@
*.tar.gz
*.pkg.tar.zst
*.pkg.tar.zst.sig
pkg/
src/
-24
View File
@@ -1,24 +0,0 @@
pkgname=wayfreeze
pkgver=0.2.0
pkgrel=1
pkgdesc="Tool to freeze the screen of a Wayland compositor"
arch=('x86_64' 'aarch64')
url="https://github.com/Jappie3/wayfreeze"
license=('AGPL-3.0')
conflicts=('wayfreeze-git')
depends=('wayland' 'libxkbcommon')
makedepends=('cargo')
options=(!debug)
source=("$pkgname-$pkgver.tar.gz::https://github.com/Jappie3/wayfreeze/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('9ab941cbd242f82a7ff807c573e23f5f0576c2815a8a493581a9037a0d754bb6')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 "target/release/$pkgname" "$pkgdir/usr/bin/$pkgname"
install -Dm644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}