Add wayfreeze
This commit is contained in:
@@ -56,7 +56,7 @@ typora
|
|||||||
tzupdate
|
tzupdate
|
||||||
ufw-docker
|
ufw-docker
|
||||||
walker
|
walker
|
||||||
wayfreeze-git source:Jappie3/wayfreeze
|
wayfreeze
|
||||||
yaru-icon-theme
|
yaru-icon-theme
|
||||||
yay
|
yay
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,5 @@
|
|||||||
|
*.tar.gz
|
||||||
|
*.pkg.tar.zst
|
||||||
|
*.pkg.tar.zst.sig
|
||||||
|
pkg/
|
||||||
|
src/
|
||||||
@@ -0,0 +1,24 @@
|
|||||||
|
pkgname=wayfreeze
|
||||||
|
pkgver=0.1.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=('5c1c6396f289786cf721ff322fc68938ccd957516a18ed792e9296aab9a85c64')
|
||||||
|
|
||||||
|
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"
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user