pmaports/kde/extra-cmake-modules/APKBUILD
PureTryOut 09ce31ca20
kde/frameworks: update to 5.55.0 (!212)
[skip ci]: too many packages changed, build won't finish in time.
	   ollieparanoid made sure that this builds for x86_64,
	   aarch64, armhf, armv7. Also he tested that this boots up
	   in qemu-amd64.
2019-02-19 08:40:18 +01:00

30 lines
975 B
Text

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