xwayclip-git

LOW
maintainer mzwing 0 votes scanned 2026-08-22 17:18:20.171967
View on AUR
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
3pkgname=xwayclip-git
4pkgver=v0.2.2.r0.g548cfbc
5pkgrel=1
6pkgdesc='Bidirectional clipboard synchronization between X11 and Wayland for poorly implemented apps like Linux QQ'
7arch=('x86_64')
8url='https://github.com/so1ve/xwayclip'
9license=('MIT')
10makedepends=('git' 'cargo')
11provides=('xwayclip')
12conflicts=('xwayclip')
13source=("$pkgname::git+$url.git")
14sha256sums=('SKIP')
15
16pkgver() {
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
24prepare() {
25 cd "$pkgname"
26 export RUSTUP_TOOLCHAIN=stable
27 cargo fetch --locked --target "$CARCH"
28}
29
30build() {
31 cd "$pkgname"
32 export RUSTUP_TOOLCHAIN=stable
33 export CARGO_TARGET_DIR=target
34 cargo build --frozen --release
35}
36
37check() {
38 cd "$pkgname"
39 export RUSTUP_TOOLCHAIN=stable
40 export CARGO_TARGET_DIR=target
41 cargo test --frozen --release
42}
43
44package() {
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)SeverityRules
2026-08-22 17:18:20 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion