blob: 16073341b5933b797beaba50ebf92217c33ef7ec (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Contributor: Ivan Tham <pickfire@riseup.net>
pkgname=extra-cmake-modules
pkgver=5.31.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="3930bdf83b015ddcab4671f75e1e30f3cae7676eb88fa74e0097dd9112d6c56c68891fe69ffa232e61866f9b34ed1db748b5044e7e9c762369ad8940e854f16a extra-cmake-modules-5.31.0.tar.xz"
|