pmaports/kde/plasma-settings/APKBUILD

45 lines
1.5 KiB
Text
Raw Normal View History

# Contributor: Bart Ribbers <bribbers@disroot.org>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=plasma-settings
pkgver=0_git20181205
pkgrel=0
_commit="bd252d8caf4b0d296fdd8aaac83234fc14bded70"
pkgdesc="Plasma Settings"
arch="all"
url="https://community.kde.org/Plasma/Mobile"
license="LGPL-2.0+"
depends="kirigami2 kded"
makedepends="extra-cmake-modules qt5-qtbase-dev qt5-qtdeclarative-dev kwindowsystem-dev kcoreaddons-dev
solid-dev kconfig-dev kauth-dev kdbusaddons-dev ki18n-dev kdeclarative-dev
kio-dev kdelibs4support-dev karchive-dev kservice-dev kpackage-dev kconfigwidgets-dev
kbookmarks-dev kcrash-dev kcompletion-dev kdesignerplugin-dev kdesignerplugin
kjobwidgets-dev kdoctools-dev kemoticons-dev kguiaddons-dev kitemmodels-dev
kinit-dev knotifications-dev kparts-dev kunitconversion-dev plasma-framework-dev"
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
builddir="$srcdir/$pkgname-$_commit/build"
prepare() {
mkdir "$builddir"
}
build() {
cd "$builddir"
cmake "$builddir"/.. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
-DCMAKE_BUILD_TYPE=Release
make
}
check() {
cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
sha512sums="ff255ef8f17a462eb6bd6c4eae6a731cc70368677da9cf7f3990495b59636bbacdf3b8815589ffeb8729dc1b8cb45430db299886fc95c9d3b1049d49a0fc55df plasma-settings-bd252d8caf4b0d296fdd8aaac83234fc14bded70.tar.gz"