summaryrefslogtreecommitdiff
path: root/community
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2019-12-27 18:10:38 +0100
committerLeo <thinkabit.ukim@gmail.com>2019-12-27 19:35:00 +0100
commit17adb45a06c4af876f9f53b6be27b026d69bc23c (patch)
treece17bd1f47acb5ebc8d6a7a7103839bdd7a70289 /community
parent06dd7eceb0a6f6a421bf8b07e122856dd61d00c1 (diff)
downloadaports-17adb45a06c4af876f9f53b6be27b026d69bc23c.zip
community/kget: move from testing
Diffstat (limited to 'community')
-rw-r--r--community/kget/APKBUILD40
1 files changed, 40 insertions, 0 deletions
diff --git a/community/kget/APKBUILD b/community/kget/APKBUILD
new file mode 100644
index 00000000000..6aac65939a8
--- /dev/null
+++ b/community/kget/APKBUILD
@@ -0,0 +1,40 @@
+# Contributor: Bart Ribbers <bribbers@disroot.org>
+# Maintainer: Bart Ribbers <bribbers@disroot.org>
+pkgname=kget
+pkgver=19.12.0
+pkgrel=0
+arch="all !ppc64le !s390x" # Limited by plasma-workspace -> libksysguard -> qt5-qtwebengine
+url="https://kde.org/applications/internet/org.kde.kget"
+pkgdesc="A versatile and user-friendly download manager"
+license="GPL-2.0-or-later AND LGPL-2.0-only AND GFDL-2.1-only"
+makedepends="extra-cmake-modules qt5-qtbase-dev kcompletion-dev kconfig-dev kconfigwidgets-dev kcoreaddons-dev kcrash-dev kdbusaddons-dev kdoctools-dev ki18n-dev kiconthemes-dev kitemviews-dev kcmutils-dev kio-dev knotifications-dev knotifyconfig-dev kparts-dev kservice-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev kwindowsystem-dev kxmlgui-dev kitemmodels-dev kdelibs4support-dev plasma-workspace-dev sqlite-dev qca-dev gpgme-dev libktorrent-dev libmms-dev"
+source="https://download.kde.org/stable/release-service/$pkgver/src/kget-$pkgver.tar.xz"
+subpackages="$pkgname-doc $pkgname-lang"
+options="!check" # No tests
+
+prepare() {
+ default_prepare
+
+ mkdir "$builddir"/build
+}
+
+build() {
+ cd "$builddir"/build
+ cmake "$builddir" \
+ -DCMAKE_BUILD_TYPE=RelWithDebInfo \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib
+ make
+}
+
+check() {
+ cd "$builddir"/build
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"/build
+ DESTDIR="$pkgdir" make install
+}
+
+sha512sums="5a512a53d0881dba4ad8c1a31e18cdb55ef9df14a1a6d747740351f92b495a8a446cb1b7faf452facaaa5fafea59d0e5d800a218a3420d8452578f1ecdd75cd9 kget-19.12.0.tar.xz"