desktop/extra-cmake-modules/PKGBUILD

32 lines
615 B
Bash
Raw Normal View History

2014-01-16 07:33:12 +08:00
# Contributor: Andrea Scarpino <andrea@archlinux.org>
source ../frameworks.conf
pkgname=extra-cmake-modules
2014-08-10 23:05:41 +08:00
pkgver=1.1.0
pkgrel=1
2014-01-16 07:33:12 +08:00
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")
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 \
-DCMAKE_BUILD_TYPE=$KFBuildType
make
}
package() {
cd build
make DESTDIR="${pkgdir}" install
}