desktop/extra-cmake-modules/PKGBUILD

34 lines
783 B
Bash
Raw Normal View History

2015-02-20 06:29:49 +08:00
# Contributions from Arch: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/extra-cmake-modules
2014-01-16 07:33:12 +08:00
source ../frameworks.conf
pkgname=extra-cmake-modules
2015-02-20 06:29:49 +08:00
pkgver=1.7.0
2014-08-10 23:05:41 +08:00
pkgrel=1
2014-01-16 07:33:12 +08:00
pkgdesc='Extra CMake modules'
2015-02-20 06:29:49 +08:00
arch=('x86_64')
2014-01-16 07:33:12 +08:00
url='https://projects.kde.org/projects/kdesupport/extra-cmake-modules'
license=('LGPL')
depends=('cmake')
2015-02-20 06:29:49 +08:00
makedepends=('python3-sphinx') # qt5-tools for QtHelp pages
2014-01-16 07:33:12 +08:00
source=("$KFServer/$KFVersion/${pkgname}-${pkgver}.tar.xz")
2014-06-22 05:34:50 +08:00
sha256sums=( $(getSum $pkgname) )
2014-01-16 07:33:12 +08:00
prepare() {
mkdir -p build
}
build() {
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_INSTALL_PREFIX=$KFInstallPrefix \
2015-02-20 06:29:49 +08:00
-DCMAKE_BUILD_TYPE=$KFBuildType \
-DBUILD_HTML_DOCS=OFF
2014-01-16 07:33:12 +08:00
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}