summaryrefslogtreecommitdiff
path: root/user/quassel/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'user/quassel/APKBUILD')
-rw-r--r--user/quassel/APKBUILD9
1 files changed, 3 insertions, 6 deletions
diff --git a/user/quassel/APKBUILD b/user/quassel/APKBUILD
index a52be97cb..7f7a81c7c 100644
--- a/user/quassel/APKBUILD
+++ b/user/quassel/APKBUILD
@@ -11,7 +11,8 @@ depends="$pkgname-client $pkgname-core"
makedepends="qt5-qtbase-dev qt5-qtmultimedia-dev libdbusmenu-qt-dev sonnet-dev
extra-cmake-modules kconfigwidgets-dev kcoreaddons-dev kxmlgui-dev
knotifications-dev knotifyconfig-dev ktextwidgets-dev qt5-qtscript-dev
- kwidgetsaddons-dev qca-dev qt5-qttools-dev zlib-dev libexecinfo-dev"
+ kwidgetsaddons-dev qca-dev qt5-qttools-dev zlib-dev libexecinfo-dev
+ cmake"
langdir="/usr/share/quassel/translations"
subpackages="$pkgname-core $pkgname-client $pkgname-lang"
source="https://quassel-irc.org/pub/quassel-$pkgver.tar.bz2
@@ -24,7 +25,6 @@ source="https://quassel-irc.org/pub/quassel-$pkgver.tar.bz2
# - CVE-2018-1000179
build() {
- cd "$builddir"
if [ "$CBUILD" != "$CHOST" ]; then
CMAKE_CROSSOPTS="-DCMAKE_SYSTEM_NAME=Linux -DCMAKE_HOST_SYSTEM_NAME=Linux"
fi
@@ -38,17 +38,15 @@ build() {
-DUSE_QT5=ON \
-DWITH_KDE=ON \
-DWITH_WEBENGINE=OFF \
- ${CMAKE_CROSSOPTS}
+ ${CMAKE_CROSSOPTS} .
make
}
check() {
- cd "$builddir"
CTEST_OUTPUT_ON_FAILURE=TRUE ctest
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}
@@ -58,7 +56,6 @@ client() {
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/quasselclient "$subpkgdir"/usr/bin/
- local dir
for dir in applications icons pixmaps knotifications5; do
mkdir -p "$subpkgdir"/usr/share/$dir
mv "$pkgdir"/usr/share/$dir "$subpkgdir"/usr/share/