summaryrefslogtreecommitdiff
path: root/user/quassel/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:29:53 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-11 07:29:53 +0000
commitb6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc (patch)
treee7c5ff1bfd6f49364d87466892354339e448727a /user/quassel/APKBUILD
parent095e14b7e22e82ed4c1719894fe1f432b67ee3d0 (diff)
downloadpackages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.gz
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.bz2
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.tar.xz
packages-b6f9114cecfe9fb3ae267d78a0cd04aa5c826dbc.zip
user/*: Modernise / fix syntax / metadata / deps
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/