diff options
Diffstat (limited to 'user/kgraphviewer/APKBUILD')
-rw-r--r-- | user/kgraphviewer/APKBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/user/kgraphviewer/APKBUILD b/user/kgraphviewer/APKBUILD index 58b1dc410..db2f22ca1 100644 --- a/user/kgraphviewer/APKBUILD +++ b/user/kgraphviewer/APKBUILD @@ -15,7 +15,6 @@ subpackages="$pkgname-doc $pkgname-lang" source="https://download.kde.org/stable/kgraphviewer/$pkgver/kgraphviewer-$pkgver.tar.xz" build() { - cd "$builddir" if [ "$CBUILD" != "$CHOST" ]; then CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux" fi @@ -26,17 +25,15 @@ build() { -DCMAKE_BUILD_TYPE=RelWithDebugInfo \ -DCMAKE_CXX_FLAGS="$CXXFLAGS" \ -DCMAKE_C_FLAGS="$CFLAGS" \ - ${CMAKE_CROSSOPTS} + ${CMAKE_CROSSOPTS} . make } check() { - cd "$builddir" CTEST_OUTPUT_ON_FAILURE=TRUE ctest } package() { - cd "$builddir" make DESTDIR="$pkgdir" install } |