42 lines
1.3 KiB
Text
42 lines
1.3 KiB
Text
pkgname=plasma-settings
|
|
pkgver=0_git20180221
|
|
pkgrel=0
|
|
_commit=f8e452ed202d81e836b0af1e008afb351b4c1e54
|
|
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="https://github.com/kde/$pkgname/archive/$_commit.tar.gz"
|
|
builddir="$srcdir/build"
|
|
|
|
prepare() {
|
|
mkdir "$builddir"
|
|
}
|
|
|
|
build() {
|
|
cd "$builddir"
|
|
cmake "$srcdir"/$pkgname-$_commit \
|
|
-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="6381512594e8adb0510856ffd087a07839000122b5401517111ea13673132685acf2cd607151bc874d7d9162a32796e9571f6337d77c0a1331a9a587da71de01 f8e452ed202d81e836b0af1e008afb351b4c1e54.tar.gz"
|