aboutsummaryrefslogtreecommitdiffstats
path: root/community/choqok/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/choqok/APKBUILD')
-rw-r--r--community/choqok/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/community/choqok/APKBUILD b/community/choqok/APKBUILD
new file mode 100644
index 0000000000..ca9d35d9d8
--- /dev/null
+++ b/community/choqok/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=choqok
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="A micro-blogging client"
+url="https://choqok.kde.org/"
+arch="all !armhf"
+license="GPL-2.0-only OR GPL-3.0-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtnetworkauth-dev
+ kconfigwidgets-dev kcoreaddons-dev kdoctools-dev ki18n-dev kemoticons-dev
+ kglobalaccel-dev kguiaddons-dev kcmutils-dev kio-dev knotifications-dev
+ knotifyconfig-dev sonnet-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev
+ kxmlgui-dev purpose-dev qca-dev kparts-dev"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
+source="https://download.kde.org/stable/choqok/${pkgver%.*}/src/choqok-$pkgver.tar.xz"
+
+build() {
+ cmake -B build \
+ -DCMAKE_BUILD_TYPE=None \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ cmake --build build
+}
+
+check() {
+ cd build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ DESTDIR="$pkgdir" cmake --build build --target install
+
+ mkdir -p "$pkgdir"/usr/lib
+ mv "$pkgdir"/usr/share/cmake "$pkgdir"/usr/lib
+}
+
+sha512sums="6f5998078e555f7b4a40270ad0a4defa2d15bb8440b810320fc4cfc38d78cb34bb9b2f6a38eb33eb3217b51a78a7fbc7f79224cd0ddb0fcbf8c9035d8e600e96 choqok-1.7.0.tar.xz"