diff options
Diffstat (limited to 'community/kross/APKBUILD')
-rw-r--r-- | community/kross/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kross/APKBUILD b/community/kross/APKBUILD index 78ef31a7d7..a0742a0046 100644 --- a/community/kross/APKBUILD +++ b/community/kross/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kross -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Framework for scripting KDE applications" arch="all" @@ -12,8 +12,15 @@ makedepends="$depends_dev extra-cmake-modules kdoctools-dev qt5-qttools-static" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kross-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" +prepare() { + default_prepare + + mkdir "$builddir"/build +} + build() { - cmake \ + cd "$builddir"/build + cmake "$builddir" \ -DCMAKE_BUILD_TYPE=RelWithDebInfo \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib @@ -21,10 +28,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="4bd34ffc682fee61d0de534172ddab838f0e2d83c6eb92ec18b2e05f3df5d847fe828e202ee2da281ae76df85a4cfaedbfd0d2b58f60303822fe78309418b8c1 kross-5.62.0.tar.xz" +sha512sums="6f16edf0dd1647d791d2b261170ae152f302c24237fce4a4b513442a83b25ade6bd9afa7967314bc0024c72e4e720faa02c8b95dc209375d4e7dd5b7701084da kross-5.63.0.tar.xz" |