24 lines
572 B
Plaintext
24 lines
572 B
Plaintext
# Description : Extra CMake modules used by all KDE Frameworks 5 packages
|
|
# URL: https://www.kde.org/
|
|
# Packager: alihan-ozturk28@hotmail.com
|
|
# Depends on: cmake
|
|
|
|
name=kf5-extra-cmake-modules
|
|
version=5.24.0
|
|
release=1
|
|
_name=extra-cmake-modules
|
|
_version=5.24
|
|
|
|
source=( http://download.kde.org/stable/frameworks/${_version}/${_name}-$version.tar.xz
|
|
pri-install-dir.patch)
|
|
|
|
build() {
|
|
cd ${_name}-$version
|
|
patch -p1 -i ../pri-install-dir.patch
|
|
cmake -DCMAKE_INSTALL_PREFIX=/usr \
|
|
-DECM_MKSPECS_INSTALL_DIR=/usr/lib/qt5/mkspecs
|
|
|
|
make
|
|
make DESTDIR=$PKG install
|
|
}
|