2018-12-29 20:27:48 +00:00
|
|
|
# Contributor: Bart Ribbers <bribbers@disroot.org>
|
|
|
|
# Maintainer: Bart Ribbers <bribbers@disroot.org>
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgname=plasma-settings
|
2018-12-29 20:27:48 +00:00
|
|
|
pkgver=0_git20181205
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgrel=0
|
2018-12-29 20:27:48 +00:00
|
|
|
_commit="bd252d8caf4b0d296fdd8aaac83234fc14bded70"
|
2017-11-26 17:08:10 +00:00
|
|
|
pkgdesc="Plasma Settings"
|
|
|
|
arch="all"
|
|
|
|
url="https://community.kde.org/Plasma/Mobile"
|
2018-03-06 22:34:59 +00:00
|
|
|
license="LGPL-2.0+"
|
2017-11-26 17:08:10 +00:00
|
|
|
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"
|
2018-12-29 20:27:48 +00:00
|
|
|
source="$pkgname-$_commit.tar.gz::https://invent.kde.org/kde/$pkgname/-/archive/$_commit/$pkgname-$_commit.tar.gz"
|
|
|
|
builddir="$srcdir/$pkgname-$_commit/build"
|
2017-11-26 17:08:10 +00:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
mkdir "$builddir"
|
|
|
|
}
|
|
|
|
|
|
|
|
build() {
|
|
|
|
cd "$builddir"
|
2018-12-29 20:27:48 +00:00
|
|
|
cmake "$builddir"/.. \
|
2017-11-26 17:08:10 +00:00
|
|
|
-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"
|
2018-12-29 20:27:48 +00:00
|
|
|
make DESTDIR="$pkgdir" install
|
2017-11-26 17:08:10 +00:00
|
|
|
}
|
2018-12-29 20:27:48 +00:00
|
|
|
sha512sums="ff255ef8f17a462eb6bd6c4eae6a731cc70368677da9cf7f3990495b59636bbacdf3b8815589ffeb8729dc1b8cb45430db299886fc95c9d3b1049d49a0fc55df plasma-settings-bd252d8caf4b0d296fdd8aaac83234fc14bded70.tar.gz"
|