summaryrefslogtreecommitdiff
path: root/shotgun
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2020-11-19 09:03:42 +0000
committerTim Biermann <tbier@posteo.de>2020-11-19 09:31:25 +0000
commit862f54fcea14dd3449dffcca6d504c357c443f41 (patch)
treefe19cd1fe158f583c9034bc0fa6ba1ab7d72a41d /shotgun
parentf48ae7d7a3e90940d5806eaae41f7902ae798d1d (diff)
downloadcontrib-862f54fcea14dd3449dffcca6d504c357c443f41.tar.gz
contrib-862f54fcea14dd3449dffcca6d504c357c443f41.tar.xz
shotgun: initial commit, version 2.2.0
Diffstat (limited to 'shotgun')
-rw-r--r--shotgun/.footprint3
-rw-r--r--shotgun/.signature5
-rw-r--r--shotgun/Pkgfile23
3 files changed, 31 insertions, 0 deletions
diff --git a/shotgun/.footprint b/shotgun/.footprint
new file mode 100644
index 000000000..dda595070
--- /dev/null
+++ b/shotgun/.footprint
@@ -0,0 +1,3 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/shotgun
diff --git a/shotgun/.signature b/shotgun/.signature
new file mode 100644
index 000000000..2880e610f
--- /dev/null
+++ b/shotgun/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF3275EdjwK5GsiVPIE3gik9nr9Wm4+oPqUU/DL0jvoPvjcsdU3Itv76Dk5BZ1rb+n48vNHk+EA9+Grj4DsipQ3w0=
+SHA256 (Pkgfile) = 4430a55e56afd1287bcc8846aa5823c6e07e7be10514b74b67ff1f5f922a419a
+SHA256 (.footprint) = ed7571fc04ecb0f3d8c8c2c833ad729d8bf238d2a21c93fb00f901b9bbaa8d65
+SHA256 (shotgun-2.2.0.tar.gz) = c02df7284c8757f4592ce7dcbbd11330ea926379c5ff313f4932a7cbae00d24b
diff --git a/shotgun/Pkgfile b/shotgun/Pkgfile
new file mode 100644
index 000000000..0fb3b05df
--- /dev/null
+++ b/shotgun/Pkgfile
@@ -0,0 +1,23 @@
+# Description: Minimal X screenshot utility
+# URL: https://github.com/neXromancers/shotgun
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: rust xorg-libx11 xorg-libxrandr
+# Optional: hacksaw
+
+name=shotgun
+version=2.2.0
+release=1
+source=(https://github.com/neXromancers/shotgun/archive/v$version/$name-$version.tar.gz)
+
+build() {
+ cd $name-$version
+
+ prt-get isinst sccache && export RUSTC_WRAPPER=/usr/bin/sccache
+ mkdir "$PKGMK_SOURCE_DIR/rust" || true
+ export CARGO_HOME="$PKGMK_SOURCE_DIR/rust"
+
+ cargo update
+ cargo fetch
+ cargo build --release --locked
+ install -Dt $PKG/usr/bin target/release/shotgun
+}

Generated by cgit