mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-15 18:39:04 +08:00
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
|
|
||
|
source ../frameworks.conf
|
||
|
|
||
|
pkgname=kf5-kde-baseapps
|
||
|
_pkgname=kde-baseapps
|
||
|
pkgver=4.98.0
|
||
|
#pkgver=${KFVersion}
|
||
|
pkgrel=1
|
||
|
pkgdesc="Collection of applications used for file and Internet browsing"
|
||
|
arch=('x86_64')
|
||
|
url='https://projects.kde.org/projects/kde/applications/kde-baseapps'
|
||
|
license=('LGPL')
|
||
|
depends=('kdelibs4support' 'kdesu' 'kf5-baloo-widgets' 'kactivities-frameworks' 'knewstuff')
|
||
|
makedepends=('extra-cmake-modules' 'kdoctools' 'git')
|
||
|
groups=('kf5')
|
||
|
conflicts=('kde-basapps')
|
||
|
#source=("${KFServer}/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
|
||
|
source=("git://anongit.kde.org/kde-baseapps#branch=frameworks")
|
||
|
md5sums=('SKIP')
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
#cmake ../${_pkgname}-${pkgver} \
|
||
|
cmake ../${_pkgname} \
|
||
|
-DCMAKE_BUILD_TYPE=${KFBuildType} \
|
||
|
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
||
|
-DQT4_BUILD=OFF \
|
||
|
-DLIB_INSTALL_DIR=lib
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd build
|
||
|
msg "currently not working"
|
||
|
make test || return 0
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|