pmaports/kde/extra-cmake-modules/APKBUILD
PureTryOut 2a0dcdac5a kde/frameworks*: update to 5.56 (!275)
Built and tested on x86_64.

[ci:skip-build]: ollieparanoid made sure that this builds for
                 x86_64, aarch64, armhf, armv7
2019-03-15 17:46:37 +00:00

30 lines
975 B
Text

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