kio-chomikuj-git

LOW
maintainer vamastah 0 votes scanned 2026-10-24 19:41:06.850237
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: Szymon Morawski <szymorawski@gmail.com>
2_name=kio-chomikuj
3pkgname=$_name-git
4pkgver=0.1.0.r9.g9daa9ab
5pkgrel=1
6pkgdesc='KIO worker and System Settings module for Chomikuj.pl'
7arch=('x86_64' 'aarch64')
8url='https://github.com/hamster-instrumentality-project/kio-chomikuj'
9license=('GPL-2.0-or-later')
10depends=(
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)
19makedepends=(
20 'cmake'
21 'extra-cmake-modules>=6.3.0'
22 'gettext'
23 'kdoctools>=6.3.0'
24 'ninja'
25 'python'
26)
27checkdepends=(
28 'appstream'
29)
30optdepends=(
31 'khelpcenter: offline handbook in KHelpCenter'
32 'plasma-workspace: Chomikuj.pl control module in System Settings'
33)
34provides=("$_name")
35conflicts=("$_name")
36source=("$_name::git+${url}.git")
37sha256sums=('SKIP')
38
39pkgver() {
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
51build() {
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
66check() {
67 QT_QPA_PLATFORM=offscreen ctest --test-dir build --output-on-failure
68}
69
70package() {
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)SeverityRules
2026-10-24 19:41:06 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