kio-chomikuj-git
LOW
maintainer vamastah
0 votes
scanned 2026-10-24 19:41:06.850237
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: Szymon Morawski <szymorawski@gmail.com>
2
_name=kio-chomikuj
3
pkgname=$_name-git
4
pkgver=0.1.0.r9.g9daa9ab
5
pkgrel=1
6
pkgdesc='KIO worker and System Settings module for Chomikuj.pl'
7
arch=('x86_64' 'aarch64')
8
url='https://github.com/hamster-instrumentality-project/kio-chomikuj'
9
license=('GPL-2.0-or-later')
10
depends=(
11
'kcmutils>=6.3.0'
12
'kconfig>=6.3.0'
13
'kcoreaddons>=6.3.0'
14
'ki18n>=6.3.0'
15
'kio>=6.3.0'
16
'qt6-base>=6.5.0'
17
'zlib'
18
)
19
makedepends=(
20
'cmake'
21
'extra-cmake-modules>=6.3.0'
22
'gettext'
23
'kdoctools>=6.3.0'
24
'ninja'
25
'python'
26
)
27
checkdepends=(
28
'appstream'
29
)
30
optdepends=(
31
'khelpcenter: offline handbook in KHelpCenter'
32
'plasma-workspace: Chomikuj.pl control module in System Settings'
33
)
34
provides=("$_name")
35
conflicts=("$_name")
36
source=("$_name::git+${url}.git")
37
sha256sums=('SKIP')
38
39
pkgver() {
40
cd "$_name"
41
42
local _version
43
_version=$(sed -n 's/^project([^)]* VERSION \([0-9][0-9.]*\).*/\1/p' CMakeLists.txt)
44
45
printf '%s.r%s.g%s' \
46
"${_version:-0}" \
47
"$(git rev-list --count HEAD)" \
48
"$(git rev-parse --short HEAD)"
49
}
50
51
build() {
52
cmake \
53
-S "$_name" \
54
-B build \
55
-G Ninja \
56
-DCMAKE_INSTALL_PREFIX=/usr \
57
-DCMAKE_BUILD_TYPE=None \
58
-DCMAKE_C_FLAGS="${CFLAGS}" \
59
-DCMAKE_CXX_FLAGS="${CXXFLAGS}" \
60
-DBUILD_TESTING=ON \
61
-Wno-dev
62
63
cmake --build build
64
}
65
66
check() {
67
QT_QPA_PLATFORM=offscreen ctest --test-dir build --output-on-failure
68
}
69
70
package() {
71
DESTDIR="$pkgdir" cmake --install build
72
73
install -Dm644 "$_name/LICENSES/GPL-2.0-or-later.txt" \
74
"$pkgdir/usr/share/licenses/$pkgname/GPL-2.0-or-later.txt"
75
}
76
Scan history
| Scanned at (UTC) | Severity | Rules |
|---|---|---|
| 2026-10-24 19:41:06 | Low | 1 |