diff options
Diffstat (limited to 'community/sonnet/APKBUILD')
-rw-r--r-- | community/sonnet/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/sonnet/APKBUILD b/community/sonnet/APKBUILD index f330b3995c..92724448e6 100644 --- a/community/sonnet/APKBUILD +++ b/community/sonnet/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=sonnet -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Spelling framework for Qt5" arch="all" @@ -13,8 +13,15 @@ checkdepends="xvfb-run" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/sonnet-$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 \ @@ -23,10 +30,12 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE xvfb-run ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="e0c8c78fef8e2de3160bd54922541e3d3bc9a4dc016a6695bf6ff2c0579d5b42986fa9bfd845a240c9d0da73f6c3cfa11af6fa7cb93db7ce6c956b766dbd94e3 sonnet-5.62.0.tar.xz" +sha512sums="75ec4749f761f98ea63be605fb960bb15eeb7cf09ceb0ecbff522f91a8fbac704a51cf14537ee59fd9a130d82fb1c2d14aea66b56c6da825d2609a289051142b sonnet-5.63.0.tar.xz" |