mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 23:24:38 +08:00
30 lines
619 B
Bash
30 lines
619 B
Bash
|
source ../plasma.conf
|
||
|
|
||
|
pkgname=plasma-mediacenter
|
||
|
pkgver=${PVersion}
|
||
|
pkgrel=1
|
||
|
pkgdesc="A mediacenter user interface based on KDE Plasma components"
|
||
|
arch=(x86_64)
|
||
|
url="http://community.kde.org/Plasma/Plasma_Media_Center/"
|
||
|
license=(GPL3)
|
||
|
depends=(plasma-workspace baloo kfilemetadata)
|
||
|
makedepends=(extra-cmake-modules python3)
|
||
|
groups=('plasma')
|
||
|
options=("debug")
|
||
|
source=("${PServer}/${pkgver}/${pkgname}-${PSubVersion}.tar.xz")
|
||
|
sha256sums=( $(getSum ${pkgname}) )
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake_kf5 ../${pkgname}-${pkgver}
|
||
|
make
|
||
|
}
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="$pkgdir" install
|
||
|
}
|