summaryrefslogtreecommitdiff
path: root/opt/grim
diff options
context:
space:
mode:
Diffstat (limited to 'opt/grim')
-rw-r--r--opt/grim/.footprint7
-rw-r--r--opt/grim/.signature6
-rw-r--r--opt/grim/MAKEPKG34
3 files changed, 47 insertions, 0 deletions
diff --git a/opt/grim/.footprint b/opt/grim/.footprint
new file mode 100644
index 0000000..726ef2b
--- /dev/null
+++ b/opt/grim/.footprint
@@ -0,0 +1,7 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/grim
+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/grim.1.gz
diff --git a/opt/grim/.signature b/opt/grim/.signature
new file mode 100644
index 0000000..760e327
--- /dev/null
+++ b/opt/grim/.signature
@@ -0,0 +1,6 @@
+RWTZ9IduCSQ/mB99Jd9Lpyq95FZGrQeVg1I6GPMGLTvgGx1cqCXb7ESUjN6H3LKCHsJplQsGl6ThrdIldqOwbCsiuNYmr6D5twY=
+
+SHA256 (MAKEPKG) = e34df07cbdd81a605320c620cd54c01f2411a697c24d922154579c256e883771
+SHA256 (.footprint) = 2fe8bbaa8b6efbab4802a38a0dd912f8940758c84b2f25652a36e8618cd18183
+SHA256 (grim-1.5.0.tar.gz) = 9e72a98f7621b1f5741b405b8dbd447acf7d300ddb12667ec526db1ce6154eaa
+SHA256 (grim#1.5.0-1.pkg.tar.gz) = ac5742dd1562f9a03c704916f16f82e38aa3213676e21fcc90f12f993f58fc57
diff --git a/opt/grim/MAKEPKG b/opt/grim/MAKEPKG
new file mode 100644
index 0000000..d3d0bf9
--- /dev/null
+++ b/opt/grim/MAKEPKG
@@ -0,0 +1,34 @@
+#!/bin/mkpkg
+# description: Grab images from a Wayland compositor
+# url: https://github.com/emersion/grim
+
+name=grim
+version=1.5.0
+_version=v1.5.0
+release=1
+depends=(wayland pixman libpng libjpeg-turbo)
+makedeps=(meson wayland-protocols scdoc)
+source=(https://gitlab.freedesktop.org/emersion/$name/-/archive/$_version/$name-$_version.tar.gz)
+renames=($name-$version.tar.gz)
+
+sha256sums=(
+ "9e72a98f7621b1f5741b405b8dbd447acf7d300ddb12667ec526db1ce6154eaa"
+)
+
+build() {
+ meson setup $name-$_version build \
+ --prefix=/usr \
+ --libdir=lib \
+ --buildtype=plain \
+ -Dwerror=false
+
+ meson compile -C build
+ DESTDIR=$PKG meson install -C build
+}
+
+signify() {
+ untrusted comment: public key
+ RWTZ9IduCSQ/mL8337TEUinPwT92xFEUpD92hkS7IxcOnzTt9QdpohT3
+}
+
+# vim: filetype=sh