2017-08-03 20:14:04 +00:00
|
|
|
pkgname=extra-cmake-modules
|
2017-08-14 23:23:23 +00:00
|
|
|
pkgver=5.37.0
|
2017-08-03 20:14:04 +00:00
|
|
|
pkgrel=0
|
|
|
|
pkgdesc="Extra CMake modules"
|
|
|
|
url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules"
|
|
|
|
arch="noarch"
|
|
|
|
license="custom"
|
|
|
|
depends="cmake"
|
|
|
|
makedepends="cmake"
|
|
|
|
subpackages="${pkgname}-doc"
|
|
|
|
source="http://download.kde.org/stable/frameworks/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
|
|
|
|
builddir="$srcdir"/${pkgname}-${pkgver}/build
|
|
|
|
|
|
|
|
build() {
|
|
|
|
mkdir -p "$builddir" && cd "$builddir"
|
|
|
|
cmake .. -DCMAKE_INSTALL_PREFIX=/usr -DBUILD_TESTING=OFF || return 1
|
|
|
|
make || return 1
|
|
|
|
}
|
|
|
|
|
|
|
|
package() {
|
|
|
|
cd "$builddir"
|
|
|
|
make DESTDIR="$pkgdir" install/fast || return 1
|
|
|
|
|
|
|
|
install -Dm644 ../COPYING-CMAKE-SCRIPTS \
|
|
|
|
"$pkgdir"/usr/share/licenses/$pkgname/COPYING
|
|
|
|
}
|
|
|
|
|
2017-08-14 23:23:23 +00:00
|
|
|
sha512sums="eb064dcf03960913c41c61dcb02ed12fa1b83abe507f9b161770bae8fe32b74dee45a29b12af26e636e896b97b17221adf67ea8465fcc9ab319b4ee55ab4f8bf extra-cmake-modules-5.37.0.tar.xz"
|