pmaports/kde/extra-cmake-modules/APKBUILD
Bart Ribbers 3d0b44dded
kde/frameworks*: update to 5.57 (!317)
Built and tested on x86_64, everything works as expected.

[ci:skip-build]: ollieparanoid made sure, that this builds for all
                 relevant arches. With crossdirect, so that means it is
                 pretty stable now \o/
2019-04-15 21:38:24 +02:00

30 lines
975 B
Text

# Contributor: k0r10n <k0r10n.dev@gmail.com>
# Contributor: Ivan Tham <pickfire@riseup.net>
pkgname=extra-cmake-modules
pkgver=5.57.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="25a559f45e9e6b99400b210eb3bf81d6e0924675cc3c85af995f64cb4536e88e0dd734f919ef8cbc8e00de74ba328a9fb3aed5d3ada53f1827479b7a90669f97 extra-cmake-modules-5.57.0.tar.xz"