Package Details: kuserfeedback-git r704.83982f1-1

Git Clone URL: https://aur.archlinux.org/kuserfeedback-git.git (read-only, click to copy)
Package Base: kuserfeedback-git
Description: Framework for collecting user feedback for applications via telemetry and surveys
Upstream URL: https://kde.org/products/frameworks/
Licenses: GPL
Conflicts: discover
Provides: discover
Submitter: BertiBoeller
Maintainer: None
Last Packager: BertiBoeller
Votes: 1
Popularity: 0.000000
First Submitted: 2020-11-12 17:22 (UTC)
Last Updated: 2020-11-12 21:36 (UTC)

Latest Comments

Rustmilian commented on 2023-03-13 08:12 (UTC) (edited on 2023-03-15 15:36 (UTC) by Rustmilian)

PKGBUILD

pkgname=kuserfeedback-git
pkgver=1.2.1_r812.g4a72fc8
pkgrel=1
pkgdesc="Framework for collecting user feedback for applications via telemetry and surveys"
arch=($CARCH)
url="https://community.kde.org/Frameworks"
license=(GPL)
depends=(qt6-base)
makedepends=('extra-cmake-modules-git' 'clang' 'qt6-tools' 'qt6-charts' 'qt6-svg' 'qt6-declarative' 'git')
optdepends=('qt6-declarative: QML bindings' 'qt6-charts: User Feedback console' 'qt6-svg: User Feedback console')
conflicts=(${pkgname%-git})
provides=(${pkgname%-git})
source=("git+https://github.com/KDE/${pkgname%-git}.git")
sha256sums=('SKIP')

pkgver() {
  cd ${pkgname%-git}
  _ver="$(grep -m1 "project(KUserFeedback VERSION" CMakeLists.txt | cut -d " " -f3 | tr -d ')' )"
  echo "${_ver}_r$(git rev-list --count HEAD).g$(git rev-parse --short HEAD)"
}

build() {
  cmake -B build -S ${pkgname%-git} \
    -DQT_MAJOR_VERSION=6 \
    -DBUILD_TESTING=OFF
  cmake --build build
}

package() {
  DESTDIR="$pkgdir" cmake --install build
}

.gitignore

*
!/.gitignore
!/.SRCINFO
!/PKGBUILD

Don't forget to regenerate the .SRCINFO

davispuh commented on 2023-02-06 20:01 (UTC)

To build this for KF6/Qt6 need to give -DQT_MAJOR_VERSION=6 CMake option.