summaryrefslogtreecommitdiff
path: root/wl-clipboard-rs
diff options
context:
space:
mode:
authorTim Biermann <tbier@posteo.de>2021-06-21 12:01:29 +0000
committerTim Biermann <tbier@posteo.de>2021-06-21 20:54:27 +0000
commitc15773c09b5eef7e5b21ff927b1db12c69e93d87 (patch)
tree683e0e96d1956c8c207dbee95b689c4896aa9fe6 /wl-clipboard-rs
parent98ebf901ea0225c6af3d67a229e9129042e96b4f (diff)
downloadcontrib-c15773c09b5eef7e5b21ff927b1db12c69e93d87.tar.gz
contrib-c15773c09b5eef7e5b21ff927b1db12c69e93d87.tar.xz
wl-clipboard-rs: initial commit, version 0.4.1
Diffstat (limited to 'wl-clipboard-rs')
-rw-r--r--wl-clipboard-rs/.footprint5
-rw-r--r--wl-clipboard-rs/.signature5
-rw-r--r--wl-clipboard-rs/Pkgfile22
3 files changed, 32 insertions, 0 deletions
diff --git a/wl-clipboard-rs/.footprint b/wl-clipboard-rs/.footprint
new file mode 100644
index 000000000..9826243e2
--- /dev/null
+++ b/wl-clipboard-rs/.footprint
@@ -0,0 +1,5 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/bin/
+-rwxr-xr-x root/root usr/bin/wl-clip
+-rwxr-xr-x root/root usr/bin/wl-copy
+-rwxr-xr-x root/root usr/bin/wl-paste
diff --git a/wl-clipboard-rs/.signature b/wl-clipboard-rs/.signature
new file mode 100644
index 000000000..a697490dd
--- /dev/null
+++ b/wl-clipboard-rs/.signature
@@ -0,0 +1,5 @@
+untrusted comment: verify with /etc/ports/contrib.pub
+RWSagIOpLGJF388jvGavJrR9VX3PFtuENrYp7pfLsNXMS0RWfR72XOOKy83C26tzUXv0SvjOB/Yc49qtD2twDOEuVJ2h0D0dqwE=
+SHA256 (Pkgfile) = 722f64f768c535db223f1e167fadd6309f2646c898796330e3277bd09c1ac20d
+SHA256 (.footprint) = a098622e9477b66a6e178cad2a938f2b5404cbe90a10d70f528a8347fd27faa8
+SHA256 (wl-clipboard-rs-0.4.1.tar.gz) = b32d4b0dd757731bafe0dad16750a320fd0ce93650d6d3a92b39f2af52830339
diff --git a/wl-clipboard-rs/Pkgfile b/wl-clipboard-rs/Pkgfile
new file mode 100644
index 000000000..c306267b1
--- /dev/null
+++ b/wl-clipboard-rs/Pkgfile
@@ -0,0 +1,22 @@
+# Description: A safe Rust crate for working with the Wayland clipboard
+# URL: https://github.com/YaLTeR/wl-clipboard-rs
+# Maintainer: Tim Biermann, tbier at posteo dot de
+# Depends on: rust wayland
+
+name=wl-clipboard-rs
+version=0.4.1
+release=1
+source=(https://github.com/YaLTeR/wl-clipboard-rs/archive/v$version/$name-$version.tar.gz)
+
+build() {
+ 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 --manifest-path $name-$version/Cargo.toml
+ cargo build --release --locked --manifest-path $name-$version/Cargo.toml
+
+ install -Dt $PKG/usr/bin $name-$version/target/release/wl-paste
+ install -Dt $PKG/usr/bin $name-$version/target/release/wl-copy
+ install -Dt $PKG/usr/bin $name-$version/target/release/wl-clip
+}

Generated by cgit