wl-clipboard-rs: initial commit, version 0.4.1
This commit is contained in:
parent
98ebf901ea
commit
c15773c09b
5
wl-clipboard-rs/.footprint
Normal file
5
wl-clipboard-rs/.footprint
Normal file
|
@ -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
|
5
wl-clipboard-rs/.signature
Normal file
5
wl-clipboard-rs/.signature
Normal file
|
@ -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
|
22
wl-clipboard-rs/Pkgfile
Normal file
22
wl-clipboard-rs/Pkgfile
Normal file
|
@ -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
|
||||
}
|
Loading…
Reference in New Issue
Block a user