pmaports/kde/kdecoration/APKBUILD

33 lines
852 B
Text
Raw Normal View History

pkgname=kdecoration
pkgver=5.10.4
pkgrel=1
pkgdesc='Plugin based library to create window decorations'
arch="all"
url='https://www.kde.org/workspaces/plasmadesktop/'
license="LGPL"
depends="qt5-qtbase"
makedepends="extra-cmake-modules qt5-qtbase-dev"
source="https://download.kde.org/stable/plasma/$pkgver/$pkgname-$pkgver.tar.xz"
subpackages="$pkgname-dev"
prepare() {
mkdir -p $srcdir/build
}
build() {
cd $srcdir/build
cmake "$srcdir"/$pkgname-$pkgver \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DKDE_INSTALL_LIBDIR=lib \
-DKDE_INSTALL_SYSCONFDIR=/etc \
-DBUILD_TESTING=OFF
make
}
package() {
cd $srcdir/build
make DESTDIR="$pkgdir" install
}
sha512sums="dc0c131d77279d443ce5515fee342e2f18fccd29fe0c7bc11fdfb5ed7ab10d3639bfea06b02a98efc5eee2456cf878e4b4579a0461df2397b5dfd4b0ef259d92 kdecoration-5.10.4.tar.xz"