grimshot: new port

This commit is contained in:
Luis
2023-08-14 20:29:39 +00:00
parent 0b6186049b
commit eb92ff7215
3 changed files with 27 additions and 0 deletions

2
main/grimshot/.checksums Normal file
View File

@@ -0,0 +1,2 @@
c39dda47a87a0583d6f9e54eb35cdead grimshot-1.6.1
492840e7d947718adb4ffeb14e8fc802 grimshot-1.6.1.1.scd

8
main/grimshot/.pkgfiles Normal file
View File

@@ -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

17
main/grimshot/spkgbuild Normal file
View File

@@ -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
}