mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 02:47:18 +08:00
38 lines
643 B
Bash
38 lines
643 B
Bash
source ../plasma.conf
|
|
|
|
pkgname=libmm-qt5
|
|
_pkgname=libmm-qt
|
|
pkgver=${PVersion}
|
|
pkgrel=1
|
|
pkgdesc="Plasma Workspace"
|
|
arch=('x86_64')
|
|
url='http://projects.kde.org'
|
|
license=('LGPL')
|
|
depends=('qt5-base' 'networkmanager')
|
|
makedepends=('extra-cmake-modules' 'kapidox')
|
|
checkdepends=("cmake")
|
|
groups=('plasma')
|
|
options=("debug")
|
|
source=("${PServer}/${pkgver}/${_pkgname}-${PSubVersion}.tar.xz")
|
|
sha256sums=( $(getSum ${_pkgname} | head -n1) )
|
|
|
|
prepare() {
|
|
mkdir -p build
|
|
}
|
|
|
|
build() {
|
|
cd build
|
|
cmake_kf5 ../${_pkgname}-${pkgver}
|
|
make
|
|
}
|
|
|
|
check() {
|
|
cd build
|
|
make test || return 0
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
make DESTDIR="${pkgdir}" install
|
|
}
|