diff --git a/main/grimshot/.checksums b/main/grimshot/.checksums new file mode 100644 index 000000000..b645d69cf --- /dev/null +++ b/main/grimshot/.checksums @@ -0,0 +1,2 @@ +c39dda47a87a0583d6f9e54eb35cdead grimshot-1.6.1 +492840e7d947718adb4ffeb14e8fc802 grimshot-1.6.1.1.scd diff --git a/main/grimshot/.pkgfiles b/main/grimshot/.pkgfiles new file mode 100644 index 000000000..f4bfcb82f --- /dev/null +++ b/main/grimshot/.pkgfiles @@ -0,0 +1,8 @@ +grimshot-1.6.1-1 +drwxr-xr-x root/root usr/ +drwxr-xr-x root/root usr/bin/ +-rwxr-xr-x root/root usr/bin/grimshot +drwxr-xr-x root/root usr/share/ +drwxr-xr-x root/root usr/share/man/ +drwxr-xr-x root/root usr/share/man/man1/ +-rw-r--r-- root/root usr/share/man/man1/grimshot.1.gz diff --git a/main/grimshot/spkgbuild b/main/grimshot/spkgbuild new file mode 100644 index 000000000..f4036189b --- /dev/null +++ b/main/grimshot/spkgbuild @@ -0,0 +1,17 @@ +# description : A helper for screenshots within sway +# homepage : https://github.com/swaywm/sway +# depends : grim jq scdoc slurp wl-clipboard + +name=grimshot +version=1.6.1 +release=1 +source="$name-$version::https://raw.githubusercontent.com/swaywm/sway/${version}/contrib/grimshot + $name-$version.1.scd::https://raw.githubusercontent.com/swaywm/sway/${version}/contrib/grimshot.1.scd" + +build() { + cd $SRC/ + scdoc < $name-$version.1.scd > grimshot.1 + + install -Dm 644 grimshot.1 $PKG/usr/share/man/man1/grimshot.1 + install -Dm 755 $name-$version $PKG/usr/bin/grimshot +}