mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-11 03:14:36 +08:00
46 lines
933 B
Bash
46 lines
933 B
Bash
|
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||
|
|
||
|
source ../frameworks.conf
|
||
|
|
||
|
pkgname=attica-qt5
|
||
|
_pkgname=attica
|
||
|
pkgver=${KFVersion}
|
||
|
pkgrel=1
|
||
|
arch=('x86_64')
|
||
|
url='https://projects.kde.org/projects/kdesupport/${_pkgname}'
|
||
|
pkgdesc='A Qt5 library that implements the Open Collaboration Services API'
|
||
|
license=('LGPL')
|
||
|
depends=('qt5-base')
|
||
|
makedepends=('extra-cmake-modules')
|
||
|
checkdepends=("cmake")
|
||
|
options=("debug")
|
||
|
source=("${KFServer}/${pkgver}/${_pkgname}-${pkgver}.tar.xz")
|
||
|
replaces=("kf5-attica")
|
||
|
provides=("kf5-attica")
|
||
|
conflicts=("kf5-attica")
|
||
|
sha256sums=($(getSum $_pkgname))
|
||
|
|
||
|
prepare() {
|
||
|
mkdir -p build
|
||
|
}
|
||
|
|
||
|
build() {
|
||
|
cd build
|
||
|
cmake ../${_pkgname}-${pkgver} \
|
||
|
-DCMAKE_BUILD_TYPE=${KFBuildType} \
|
||
|
-DCMAKE_INSTALL_PREFIX=${KFInstallPrefix} \
|
||
|
-DLIB_INSTALL_DIR=lib \
|
||
|
-DKDE_INSTALL_USE_QT_SYS_PATHS=ON
|
||
|
make
|
||
|
}
|
||
|
|
||
|
check() {
|
||
|
cd build
|
||
|
make test
|
||
|
}
|
||
|
|
||
|
package() {
|
||
|
cd build
|
||
|
make DESTDIR="${pkgdir}" install
|
||
|
}
|