extra-cmake-modules: initial import

This commit is contained in:
Fabian 2014-01-15 23:33:12 +00:00
parent e3b56bfde4
commit 2693141c4c

View 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
}