void-packages/srcpkgs/quassel/template

59 lines
1.7 KiB
Bash

# Template file for 'quassel'
pkgname=quassel
version=0.13.0
revision=1
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@voidlinux.eu>"
license="GPL-2.0, GPL-3.0"
homepage="https://www.quassel-irc.org"
distfiles="https://quassel-irc.org/pub/quassel-${version}.tar.bz2"
checksum=d9822002de5bb1fd1002cccd537e5a0bc8ec365d355fdff4fb7818daefade976
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
}
}