void-packages/srcpkgs/quassel/template
2018-08-19 09:10:24 +02:00

58 lines
1.7 KiB
Bash

# Template file for 'quassel'
pkgname=quassel
version=0.12.5
revision=2
build_style=cmake
configure_args="-DEMBED_DATA=ON -DWANT_QTCLIENT=ON -DWANT_MONO=ON -DWANT_CORE=ON
-DUSE_QT5=ON"
hostmakedepends="pkg-config qt5-host-tools qt5-qmake"
makedepends="qt5-tools-devel phonon-qt5-devel qca-qt5-devel zlib-devel
libdbusmenu-qt5-devel qt5-script-devel qt5-plugin-tds
qt5-plugin-pgsql qt5-plugin-sqlite qt5-plugin-mysql qt5-plugin-odbc"
depends="qt5-plugin-sqlite quassel-client-shared>=${version}_${revision}"
_desc="Modern, cross-platform, distributed graphical IRC client"
short_desc="${_desc} - standalone client"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
license="GPL-2.0, GPL-3.0"
homepage="https://www.quassel-irc.org"
distfiles="https://quassel-irc.org/pub/quassel-${version}.tar.bz2"
checksum=1894574dfd79654152a5b7427e7df592b055ae908230504f98a4cb48961e74e2
post_install() {
vsv quasselcore
}
quassel-client-shared_package() {
replaces="quassel-shared>=0"
conflicts="quassel-shared>=0"
short_desc="${_desc} - common client files"
depends="desktop-file-utils"
pkg_install() {
vmove /usr/share/quassel
vmove /usr/share/icons
vmove /usr/share/pixmaps
}
}
quassel-core_package() {
replaces="quasselcore>=0"
conflicts="quasselcore>=0"
depends="qt5-plugin-sqlite"
short_desc="${_desc} - server"
system_accounts="quassel"
pkg_install() {
vmove /usr/bin/quasselcore
vmove /etc/sv
}
}
quassel-client_package() {
replaces="quasselclient>=0"
conflicts="quasselclient>=0"
depends="quassel-client-shared>=${version}_${revision}"
short_desc="${_desc} - distributed client"
pkg_install() {
vmove /usr/share/applications/quasselclient.desktop
vmove /usr/bin/quasselclient
}
}