keysharp-desktop-git
LOW
maintainer minerharry
0 votes
scanned 2026-10-27 07:47:02.942332
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
# Guidelines specific to Bazaar, Git, Mercurial and Subversion packages.
2
# Other VCS sources are not natively supported by makepkg yet.
3
4
# Maintainer: minerharry <miner.harry567@gmail.com>
5
pkgname=keysharp-desktop-git
6
pkgver=v1.0.3.r0.gb28cac1
7
pkgrel=1
8
pkgdesc="Desktop interaction (windows, clipboard, etc) for KeySharp (Autohotkey Port) for linux, compatible with X11, KWin/Plasma Wayland, GNOME/Cinammon, and more."
9
arch=('x86_64')
10
url="https://github.com/keysharp-org/keysharp-desktop"
11
license=('GPL-3.0-or-later')
12
groups=()
13
depends=(
14
'polkit' 'glib2'
15
'libxcb' 'libxkbcommon' #x11 (todo: test without)
16
'wayland' 'wayland-protocols' #wayland (todo: test without)
17
)
18
makedepends=('git' 'cmake' 'gcc' 'pkg-config')
19
provides=("${pkgname%-git}")
20
conflicts=("${pkgname%-git}")
21
replaces=()
22
backup=()
23
options=()
24
install=keysharp-desktop.install
25
source=("keysharp-desktop::git+https://github.com/keysharp-org/keysharp-desktop")
26
noextract=()
27
sha256sums=('SKIP')
28
29
30
# Please refer to the USING VCS SOURCES section of the PKGBUILD man page for
31
# a description of each element in the source array
32
33
prepare() {
34
cd "keysharp-desktop"
35
git submodule update --init
36
}
37
38
pkgver() {
39
cd "keysharp-desktop"
40
41
( set -o pipefail
42
git describe --long --abbrev=7 2>/dev/null | sed 's/\([^-]*-g\)/r\1/;s/-/./g' ||
43
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short=7 HEAD)"
44
)
45
46
}
47
48
build() {
49
cd "keysharp-desktop"
50
cmake -S . -B build -DCMAKE_BUILD_TYPE=Release
51
cmake --build build --parallel
52
}
53
54
check() {
55
cd "keysharp-desktop"
56
ctest --test-dir build --output-on-failure
57
}
58
59
package() {
60
cd "keysharp-desktop"
61
DESTDIR="${pkgdir}" cmake --install build
62
63
# #install library location config to ld.so.conf.d using builtin
64
# bash packaging/configure-library-path.sh /usr/local/lib "${pkgdir}/etc/ld.so.conf.d/keysharp-input.conf"
65
66
echo "build complete"
67
68
#further installation/uninstallation happens in keysharp-desktop.install
69
}
70
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-27 07:47:02 | Low | 1 |