cbs: do not depend on libbsd

This commit is contained in:
Tim Biermann 2021-05-29 22:52:38 +00:00
parent 78346614a3
commit 09e7f529ac
Signed by: tb
GPG Key ID: 42F8B4E30B673606
2 changed files with 8 additions and 8 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF31mNRAZzB6Zx0H9M78yWpTBLd8eEnGzEVSQd1b/oue2CRdCtn6SXqTObn2WC68qxqC/FOOcgDbFw4Z7dMBw/NwA=
SHA256 (Pkgfile) = 10fd1196ee7bec10f58575a15015e01157a08ba1193c85d9c71bd7b737319706
RWSagIOpLGJF31w7LPfrkNaMUddPg51UYEJwyDr3IGl5Pul5F0H7tkyCMcNcF+2Gjh5vbZBo0dahFaE3dcyuWPjDzcePr3npnAk=
SHA256 (Pkgfile) = b197a9e571e40586778682a06b12fd2050a989fc3970dc4c1f8b3303bc6b6410
SHA256 (.footprint) = 6eccff822d2d532b2c22f8d2873c6e2cc5cea6d38a5166cf65ea225d645e171d
SHA256 (cbs-0.1.0.tar.gz) = 963c70352f0518efd36851a6b0082b4ce7f9b77e53ade5dc0fc57a3f1c51cdad

View File

@ -1,7 +1,7 @@
# Description: interface to manage clipboard from the command line
# URL: https://github.com/robatipoor/cbs
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: libbsd rust xorg-libxcb
# Depends on: rust xorg-libxcb
name=cbs
version=0.1.0
@ -10,13 +10,13 @@ _commit=e3f75bcd1045d65727537b700ee3dabcdc12266a
source=(https://github.com/robatipoor/cbs/archive/$_commit/$name-$version.tar.gz)
build() {
cd $name-$_commit
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/cbs
cargo update --manifest-path $name-$_commit/Cargo.toml
cargo fetch --manifest-path $name-$_commit/Cargo.toml --locked
cargo build --release --locked --manifest-path $name-$_commit/Cargo.toml
install -Dt $PKG/usr/bin $name-$_commit/target/release/$name
}