aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2020-04-18 21:50:29 +0200
committerRasmus Thomsen <oss@cogitri.dev>2020-04-24 11:46:41 +0000
commitf48b9a328f0ba86520484da0b589397203b75870 (patch)
treecf157b2adb07e574633f6c70ee9bce03995ed2d1
parenta25e00062be9086e599e4dd83f581383e47733d5 (diff)
downloadaports-f48b9a328f0ba86520484da0b589397203b75870.tar.gz
aports-f48b9a328f0ba86520484da0b589397203b75870.tar.bz2
aports-f48b9a328f0ba86520484da0b589397203b75870.tar.xz
community/konversation: move from testing
-rw-r--r--community/konversation/0001-Fix-build-with-Qt-5.13.patch (renamed from testing/konversation/0001-Fix-build-with-Qt-5.13.patch)0
-rw-r--r--community/konversation/APKBUILD (renamed from testing/konversation/APKBUILD)9
2 files changed, 5 insertions, 4 deletions
diff --git a/testing/konversation/0001-Fix-build-with-Qt-5.13.patch b/community/konversation/0001-Fix-build-with-Qt-5.13.patch
index f92dd34058..f92dd34058 100644
--- a/testing/konversation/0001-Fix-build-with-Qt-5.13.patch
+++ b/community/konversation/0001-Fix-build-with-Qt-5.13.patch
diff --git a/testing/konversation/APKBUILD b/community/konversation/APKBUILD
index b008714db5..3872728e0d 100644
--- a/testing/konversation/APKBUILD
+++ b/community/konversation/APKBUILD
@@ -13,24 +13,25 @@ makedepends="extra-cmake-modules qt5-qtbase-dev karchive-dev kbookmarks-dev
kparts-dev solid-dev kwallet-dev kwidgetsaddons-dev kglobalaccel-dev
kdbusaddons-dev knotifications-dev kwindowsystem-dev kiconthemes-dev
kitemviews-dev phonon-dev qca-dev"
-source="https://download.kde.org/stable/$pkgname/$pkgver/src/$pkgname-$pkgver.tar.xz
+source="https://download.kde.org/stable/konversation/$pkgver/src/konversation-$pkgver.tar.xz
0001-Fix-build-with-Qt-5.13.patch"
subpackages="$pkgname-doc $pkgname-lang"
build() {
- cmake \
+ cmake -B build \
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib
- make
+ cmake --build build
}
check() {
+ cd build
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- DESTDIR="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --build build --target install
}
sha512sums="001534c7f6c5110ca5e210977cc4275e083f5c3704078a74aa573af659154e0fa4c3c960be08f41256db1ac4568f0734741bf10cfb2e15d9e6f6440250682504 konversation-1.7.5.tar.xz