diff options
Diffstat (limited to 'community/ki18n')
-rw-r--r-- | community/ki18n/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/ki18n/APKBUILD b/community/ki18n/APKBUILD index 961441789f..95ccace64e 100644 --- a/community/ki18n/APKBUILD +++ b/community/ki18n/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=ki18n -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Advanced internationalization framework" arch="all" @@ -13,8 +13,15 @@ source="https://download.kde.org/stable/frameworks/${pkgver%.*}/ki18n-$pkgver.ta subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" options="!check" +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,12 +30,14 @@ build() { } check() { + cd "$builddir"/build CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { + cd "$builddir"/build DESTDIR="$pkgdir" make install } -sha512sums="dfb929cafd3b14fedc72821b7fb75d71da20dfa5f78307526f26e9654f44ad4ce052d1df00065b14fef0777aa6b9da13fda52af97189f79339177247eedfe211 ki18n-5.62.0.tar.xz" +sha512sums="e8e5f9f8a8e688455a4d5db1b03a316fb0506eecc40971f4ce5d199e8928cf5c90f4b2e9b8513484c577153f370d22cb48a657ae079b19cf41cb40c408b275eb ki18n-5.63.0.tar.xz" |