mirror of
https://github.com/outbackdingo/ports.git
synced 2026-01-27 18:20:07 +00:00
grimshot: new port
This commit is contained in:
2
main/grimshot/.checksums
Normal file
2
main/grimshot/.checksums
Normal file
@@ -0,0 +1,2 @@
|
||||
c39dda47a87a0583d6f9e54eb35cdead grimshot-1.6.1
|
||||
492840e7d947718adb4ffeb14e8fc802 grimshot-1.6.1.1.scd
|
||||
8
main/grimshot/.pkgfiles
Normal file
8
main/grimshot/.pkgfiles
Normal 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
17
main/grimshot/spkgbuild
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user