summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 32e15352a9ce66f0e88da546a9456564722a53b5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: redArch <redarch at protonmail dot com>
pkgname="gazo-git"
pkgver=0.0.2
pkgrel=1
pkgdesc="A screenshot tool for Wayland compositors implmementing the wlr_screencopy protocol."
arch=("x86_64")
url="https://gitlab.com/redArch/wayland-screencopy-utilities"
license=("GPL")
makedepends=("rustup" "git")
optdepends=("slurp: for geometry selection")
source=("git+$url")
sha256sums=("SKIP")

build() {
	cd "wayland-screencopy-utilities/gazo-cli"
	cargo build --release
}

package() {
	cd "wayland-screencopy-utilities"
	install -Dm 755 ./target/release/gazo-cli "$pkgdir/usr/bin/gazo"
}