mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 13:47:15 +08:00
extra-cmake-modules: initial import
This commit is contained in:
parent
e3b56bfde4
commit
2693141c4c
32
kde-next/extra-cmake-modules/PKGBUILD
Normal file
32
kde-next/extra-cmake-modules/PKGBUILD
Normal file
@ -0,0 +1,32 @@
|
||||
# Contributor: Andrea Scarpino <andrea@archlinux.org>
|
||||
|
||||
source ../frameworks.conf
|
||||
|
||||
pkgname=extra-cmake-modules
|
||||
pkgver=0.0.9
|
||||
pkgrel=1
|
||||
pkgdesc='Extra CMake modules'
|
||||
arch=('any')
|
||||
url='https://projects.kde.org/projects/kdesupport/extra-cmake-modules'
|
||||
license=('LGPL')
|
||||
depends=('cmake')
|
||||
source=("$KFServer/$KFVersion/${pkgname}-${pkgver}.tar.xz")
|
||||
md5sums=('79cc159b2fa91507ea349dd0fd305d78')
|
||||
|
||||
prepare() {
|
||||
mkdir -p build
|
||||
}
|
||||
|
||||
build() {
|
||||
cd build
|
||||
cmake ../${pkgname}-${pkgver} \
|
||||
-DCMAKE_INSTALL_PREFIX=$KFInstallPrefix \
|
||||
-DCMAKE_BUILD_TYPE=$KFBuildType
|
||||
make
|
||||
}
|
||||
|
||||
package() {
|
||||
cd build
|
||||
make DESTDIR="${pkgdir}" install
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user