desktop/kde-baseapps-kf5/PKGBUILD
2014-08-10 15:05:41 +00:00

48 lines
1.1 KiB
Bash

source ../frameworks.conf
pkgname=kde-baseapps-kf5
_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' 'kf5-kde-baseapps')
provides=('kf5-kde-baseapps')
replaces=('kf5-kde-baseapps')
#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
}