summaryrefslogtreecommitdiff
path: root/user/quassel/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2024-05-30 19:38:32 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2024-08-07 10:08:17 -0500
commit00bd532e2a0dec264b9bc350880bcbc49d918316 (patch)
treec92fda87fac4d7dd0f072aa4bd2653b03b059b03 /user/quassel/APKBUILD
parentd53192a8b37dff7f533b4f69c5fb7c342a2dc5a6 (diff)
downloadpackages-00bd532e2a0dec264b9bc350880bcbc49d918316.tar.gz
packages-00bd532e2a0dec264b9bc350880bcbc49d918316.tar.bz2
packages-00bd532e2a0dec264b9bc350880bcbc49d918316.tar.xz
packages-00bd532e2a0dec264b9bc350880bcbc49d918316.zip
user/quassel: Fix split packages
Diffstat (limited to 'user/quassel/APKBUILD')
-rw-r--r--user/quassel/APKBUILD29
1 files changed, 27 insertions, 2 deletions
diff --git a/user/quassel/APKBUILD b/user/quassel/APKBUILD
index 8cfadbd66..dbea3d65e 100644
--- a/user/quassel/APKBUILD
+++ b/user/quassel/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=quassel
pkgver=0.14.0
-pkgrel=0
+pkgrel=1
pkgdesc="Modern, cross-platform IRC client"
url="https://quassel-irc.org/"
arch="all"
@@ -14,7 +14,7 @@ makedepends="qt5-qtbase-dev qt5-qtmultimedia-dev libdbusmenu-qt-dev sonnet-dev
kwidgetsaddons-dev qca-dev qt5-qttools-dev zlib-dev libexecinfo-dev
cmake boost-dev"
langdir="/usr/share/quassel/translations"
-subpackages="$pkgname-core $pkgname-client $pkgname-lang"
+subpackages="$pkgname-core $pkgname-client $pkgname-lang $pkgname-libs"
source="https://quassel-irc.org/pub/quassel-$pkgver.tar.bz2"
# secfixes:
@@ -62,13 +62,38 @@ client() {
mkdir -p "$subpkgdir"/usr/share/quassel
mv "$pkgdir"/usr/share/quassel/stylesheets \
"$subpkgdir"/usr/share/quassel/
+ mv "$pkgdir"/usr/share/quassel/icons \
+ "$subpkgdir"/usr/share/quassel/
+
+ mkdir -p "$subpkgdir"/usr/lib
+ for component in client qtui uisupport; do
+ mv "$pkgdir"/usr/lib/libquassel-$component.* \
+ "$subpkgdir"/usr/lib/
+ done
}
core() {
pkgdesc="Modern, cross-platform IRC daemon (core only)"
depends=""
+
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libquassel-core* "$subpkgdir"/usr/lib/
+}
+
+libs() {
+ pkgdesc="Modern, cross-platform IRC daemon (libraries)"
+ depends=""
+
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libquassel-common* "$subpkgdir"/usr/lib/
+
+ mkdir -p "$subpkgdir"/usr/share/quassel
+ for component in networks.ini scripts; do
+ mv "$pkgdir"/usr/share/quassel/$component \
+ "$subpkgdir"/usr/share/quassel/
+ done
}
sha512sums="ea6b9723acab5ce73f760692770c1340c03bf277d2c99a2520345bfb6a7bb6fdc64a01dccfd7026341b46ee727821e1bcc2f487be72dfbc155f1de1ad264763f quassel-0.14.0.tar.bz2"