30 lines
975 B
Text
30 lines
975 B
Text
# Contributor: k0r10n <k0r10n.dev@gmail.com>
|
|
# Contributor: Ivan Tham <pickfire@riseup.net>
|
|
pkgname=extra-cmake-modules
|
|
pkgver=5.49.0
|
|
pkgrel=0
|
|
pkgdesc="Extra CMake modules"
|
|
url="https://projects.kde.org/projects/kdesupport/extra-cmake-modules"
|
|
arch="noarch"
|
|
license="custom"
|
|
depends="cmake"
|
|
makedepends="py-sphinx 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
|
|
}
|
|
|
|
sha512sums="ed9925d4096f79241bc915b065a48b3a5cda78e53f6f2514d453232aabbfbe83e0b700040ef811bb9043567d5304e9681ba218b9a948685114c12b6dc6108279 extra-cmake-modules-5.49.0.tar.xz"
|