summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-15 19:35:16 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-05-15 19:35:16 -0500
commit84abd764e8b7ef23e7f9de14c56dd97f09823a69 (patch)
tree3ee4c38eff7ce063519a322bc8dfb2abeceea615
parent081961a1f9a8075a6ca87ef7822594cd44c2fb6b (diff)
downloadpackages-84abd764e8b7ef23e7f9de14c56dd97f09823a69.tar.gz
packages-84abd764e8b7ef23e7f9de14c56dd97f09823a69.tar.bz2
packages-84abd764e8b7ef23e7f9de14c56dd97f09823a69.tar.xz
packages-84abd764e8b7ef23e7f9de14c56dd97f09823a69.zip
user/kget: new package
-rw-r--r--user/kget/APKBUILD47
1 files changed, 47 insertions, 0 deletions
diff --git a/user/kget/APKBUILD b/user/kget/APKBUILD
new file mode 100644
index 000000000..a85e245fb
--- /dev/null
+++ b/user/kget/APKBUILD
@@ -0,0 +1,47 @@
+# Contributor: A. Wilcox <awilfox@adelielinux.org>
+# Maintainer: A. Wilcox <awilfox@adelielinux.org>
+pkgname=kget
+pkgver=17.12.2
+pkgrel=0
+pkgdesc="Versatile download manager"
+url="https://www.kde.org/applications/internet/kget/"
+arch="all"
+license="GPL-2.0-only"
+depends=""
+makedepends="cmake extra-cmake-modules qt5-qtbase-dev kcompletion-dev ki18n-dev
+ kconfig-dev kconfigwidgets-dev kcoreaddons-dev kdbusaddons-dev kio-dev
+ kdoctools-dev kiconthemes-dev kitemviews-dev kcmutils-dev kparts-dev
+ kdelibs4support-dev knotifications-dev knotifyconfig-dev kservice-dev
+ solid-dev ktextwidgets-dev kwallet-dev kwidgetsaddons-dev kxmlgui-dev
+ kwindowsystem-dev gpgme-dev qca-dev boost-dev libktorrent-dev"
+install=""
+subpackages="$pkgname-doc $pkgname-lang"
+source="http://download.kde.org/stable/applications/$pkgver/src/kget-$pkgver.tar.xz"
+
+build() {
+ cd "$builddir"
+ if [ "$CBUILD" != "$CHOST" ]; then
+ CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
+ fi
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DBUILD_SHARED_LIBS=True \
+ -DCMAKE_BUILD_TYPE=RelWithDebugInfo \
+ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
+ -DCMAKE_C_FLAGS="$CFLAGS" \
+ ${CMAKE_CROSSOPTS}
+ make
+}
+
+check() {
+ cd "$builddir"
+ CTEST_OUTPUT_ON_FAILURE=TRUE ctest
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+sha512sums="affc47f456946001ca0ad230720ed3a1b21ee274d1df865fe7b405b852dff55a1a85ae30cae15bcf4ef667e285719ec3d72d8adce994f96e92f3069f9fae541a kget-17.12.2.tar.xz"