diff options
Diffstat (limited to 'user/kservice/APKBUILD')
-rw-r--r-- | user/kservice/APKBUILD | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/user/kservice/APKBUILD b/user/kservice/APKBUILD index f6b634a29..b1acd8701 100644 --- a/user/kservice/APKBUILD +++ b/user/kservice/APKBUILD @@ -1,7 +1,7 @@ # Contributor: A. Wilcox <awilfox@adelielinux.org> # Maintainer: A. Wilcox <awilfox@adelielinux.org> pkgname=kservice -pkgver=5.48.0 +pkgver=5.50.0 pkgrel=0 pkgdesc="Framework for implementing plugins and services" url="https://www.kde.org/" @@ -16,8 +16,13 @@ makedepends="$depends_dev cmake extra-cmake-modules kdoctools-dev python3 subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" source="https://download.kde.org/stable/frameworks/${pkgver%.*}/kservice-$pkgver.tar.xz" -build() { +prepare() { cd "$builddir" + mkdir -p build +} + +build() { + cd "$builddir"/build if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -30,13 +35,14 @@ build() { -DCMAKE_C_FLAGS="$CFLAGS" \ -DBUILD_TESTING=OFF \ -DBUILD_QCH:BOOL=ON \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} \ + .. make } package() { - cd "$builddir" + cd "$builddir"/build make DESTDIR="$pkgdir" install } -sha512sums="3c781f0634e646ad287a02d3fc65ef1850984e637a9a01c2f5f86805c6962429a2cfeedb7e3d81ac12c60b6786b5c51545a15a049d5dcf2d339a235c060e34e9 kservice-5.48.0.tar.xz" +sha512sums="d239647335f0c72e1c76f36f4f23dfdd4614467b1f95d75bffc3ffd11c2bcf307dbbbc7f67c0197030a1c27875bf256a751721204f06769d9fdc3f1e49172e87 kservice-5.50.0.tar.xz" |