6761bc8e78
Built and tested on x86_64, everything works as before.
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.58.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="edff7bcef7effad524743cf234ff6bb41ab59b7d8e4629ee11be9faea97985f32fff0d96cfaf25277acce9806abea3abe475c9dfe2f8c2dc1b61b7f52d2396bb extra-cmake-modules-5.58.0.tar.xz"
|