diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-09 06:22:25 +0000 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2020-01-09 06:22:25 +0000 |
commit | fc973aed71950a37b43cd006a9f62b8c23373915 (patch) | |
tree | 61d1a9146d366e978d52e834af7ddc3f9d8015e5 /user/kdiagram/APKBUILD | |
parent | 73a0ca55d8be33cce8dde0c35e4273c9bbd6a01e (diff) | |
download | packages-fc973aed71950a37b43cd006a9f62b8c23373915.tar.gz packages-fc973aed71950a37b43cd006a9f62b8c23373915.tar.bz2 packages-fc973aed71950a37b43cd006a9f62b8c23373915.tar.xz packages-fc973aed71950a37b43cd006a9f62b8c23373915.zip |
user/*: Modernise / fix syntax / deps
Diffstat (limited to 'user/kdiagram/APKBUILD')
-rw-r--r-- | user/kdiagram/APKBUILD | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/user/kdiagram/APKBUILD b/user/kdiagram/APKBUILD index 3896e76c4..5c5b7e882 100644 --- a/user/kdiagram/APKBUILD +++ b/user/kdiagram/APKBUILD @@ -15,7 +15,6 @@ subpackages="$pkgname-dev $pkgname-lang" source="https://download.kde.org/stable/kdiagram/$pkgver/kdiagram-$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 } |