eef97ce49d
* Add postmarketos-ui-plasma-mobile * Add more required packages * Upgrade plasma sources * Modernize APKBUILDs * Make it run in general * Support RGB32 framebuffer with BGR order (thanks @zhuowei!)
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.40.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="5390edfde7acb4c89abd2f5abc4fb533f2f4b45061127796b3a2f9d7ab65d7b8ba5cc0aee0543a28886118af8f1c7aed4f5b51c33f20223d9948ca39944c399c extra-cmake-modules-5.40.0.tar.xz"
|