diff options
author | Bart Ribbers <bribbers@disroot.org> | 2019-10-14 19:46:37 +0200 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2019-10-17 12:13:50 -0300 |
commit | 49afd00440e7a1725cb4701a2ff879e994a55389 (patch) | |
tree | 915f5c810b7027a5a99e9ed935ab50f9d8dde87e /community/kjs | |
parent | e58bd7992d0d7b657f02561eb4c255bdfe6751d6 (diff) | |
download | aports-49afd00440e7a1725cb4701a2ff879e994a55389.tar.bz2 aports-49afd00440e7a1725cb4701a2ff879e994a55389.tar.xz |
community/kde-frameworks: upgrade to 5.63.0
Diffstat (limited to 'community/kjs')
-rw-r--r-- | community/kjs/APKBUILD | 15 |
1 files changed, 12 insertions, 3 deletions
diff --git a/community/kjs/APKBUILD b/community/kjs/APKBUILD index 2237a88a57..cda44732b4 100644 --- a/community/kjs/APKBUILD +++ b/community/kjs/APKBUILD @@ -1,7 +1,7 @@ # Contributor: Bart Ribbers <bribbers@disroot.org> # Maintainer: Bart Ribbers <bribbers@disroot.org> pkgname=kjs -pkgver=5.62.0 +pkgver=5.63.0 pkgrel=0 pkgdesc="Support for JS scripting in applications" arch="all" @@ -12,8 +12,15 @@ makedepends="$depends_dev extra-cmake-modules kdoctools-dev" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/portingAids/kjs-$pkgver.tar.xz" subpackages="$pkgname-dev $pkgname-doc" +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="70967da38960ddaf6e2a9a31e09adef926ab6b8d513d9f6c7d5ad3b46cefb2785dad0b6e421bb7e5f46abab56808831f590565c23b47dfa75efba7d95f68337d kjs-5.62.0.tar.xz" +sha512sums="182da2bbddf7777f33aa7cb01c5757837e3b50b4ac298992854e4a72af13ebff9eb6919506a865939233a7b97fab09b9ce3265f01ffd3390a852d09368747695 kjs-5.63.0.tar.xz" |