xwayclip-git
LOW
maintainer mzwing
0 votes
scanned 2026-08-22 17:18:20.171967
Why flagged
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
Triggered rules
Low
Few votes, recently uploaded
zero_votes_recent
Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.
PKGBUILD
1
# Maintainer: mzwing <mzwing@mzwing.eu.org>
2
3
pkgname=xwayclip-git
4
pkgver=v0.2.2.r0.g548cfbc
5
pkgrel=1
6
pkgdesc='Bidirectional clipboard synchronization between X11 and Wayland for poorly implemented apps like Linux QQ'
7
arch=('x86_64')
8
url='https://github.com/so1ve/xwayclip'
9
license=('MIT')
10
makedepends=('git' 'cargo')
11
provides=('xwayclip')
12
conflicts=('xwayclip')
13
source=("$pkgname::git+$url.git")
14
sha256sums=('SKIP')
15
16
pkgver() {
17
cd "$pkgname"
18
( set -o pipefail
19
git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
20
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
21
)
22
}
23
24
prepare() {
25
cd "$pkgname"
26
export RUSTUP_TOOLCHAIN=stable
27
cargo fetch --locked --target "$CARCH"
28
}
29
30
build() {
31
cd "$pkgname"
32
export RUSTUP_TOOLCHAIN=stable
33
export CARGO_TARGET_DIR=target
34
cargo build --frozen --release
35
}
36
37
check() {
38
cd "$pkgname"
39
export RUSTUP_TOOLCHAIN=stable
40
export CARGO_TARGET_DIR=target
41
cargo test --frozen --release
42
}
43
44
package() {
45
cd "$pkgname"
46
install -Dm755 target/release/xwayclip -t "$pkgdir/usr/bin/"
47
install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
48
}
49
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-08-22 17:18:20 | Low | 1 |