summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStMartin812020-11-12 18:22:07 +0100
committerStMartin812020-11-12 18:22:07 +0100
commit6e2bd7761d3780e86dde3c1444710fe5d4f89ae4 (patch)
treed9fefdda7e929db4bb894c14a07b8b5c13dd4d48
downloadaur-6e2bd7761d3780e86dde3c1444710fe5d4f89ae4.tar.gz
Initial commit
-rw-r--r--.SRCINFO24
-rw-r--r--PKGBUILD33
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..72805e6fbb8
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,24 @@
+pkgbase = kuserfeedback-git
+ pkgdesc = Framework for collecting user feedback for applications via telemetry and surveys
+ pkgver = r704.83982f1
+ pkgrel = 1
+ url = https://kde.org/products/frameworks/
+ arch = x86_64
+ license = GPL
+ makedepends = extra-cmake-modules
+ makedepends = qt5-tools
+ makedepends = clang
+ makedepends = qt5-charts
+ makedepends = qt5-svg
+ makedepends = qt5-declarative
+ depends = qt5-base
+ optdepends = qt5-declarative: QML bindings
+ optdepends = qt5-charts: User Feedback console
+ optdepends = qt5-svg: User Feedback console
+ provides = discover
+ conflicts = discover
+ source = git+https://invent.kde.org/libraries/kuserfeedback.git
+ sha256sums = SKIP
+
+pkgname = kuserfeedback-git
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..051fb9566c8
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Martin Stolpe <martin dot stolpe at gmail dot com>
+# Contributor Antonio Rojas <arojas@archlinux.org>
+
+_pkgname=kuserfeedback
+pkgname=kuserfeedback-git
+pkgver=r704.83982f1
+pkgrel=1
+pkgdesc="Framework for collecting user feedback for applications via telemetry and surveys"
+arch=(x86_64)
+url="https://kde.org/products/frameworks/"
+license=(GPL)
+depends=(qt5-base)
+makedepends=(extra-cmake-modules qt5-tools clang qt5-charts qt5-svg qt5-declarative)
+optdepends=('qt5-declarative: QML bindings' 'qt5-charts: User Feedback console' 'qt5-svg: User Feedback console')
+conflicts=(discover)
+provides=(discover)
+source=("git+https://invent.kde.org/libraries/$_pkgname.git")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "$srcdir/$_pkgname"
+ printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
+}
+
+build() {
+ cmake -B build -S "$srcdir/$_pkgname" \
+ -DBUILD_TESTING=OFF
+ cmake --build build
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --install build
+}