void-packages/srcpkgs/quassel/template
2016-05-03 01:50:23 -04:00

61 lines
1.7 KiB
Bash

# Template file for 'quassel'
pkgname=quassel
version=0.12.4
revision=1
build_style=cmake
_desc="Modern, cross-platform, distributed graphical IRC client"
short_desc="${_desc} - standalone client"
maintainer="Toyam Cox <Vaelatern@gmail.com>"
hostmakedepends="pkg-config"
makedepends="zlib-devel qt-devel libdbusmenu-qt-devel phonon-devel qca-devel"
_common_deps="desktop-file-utils"
depends="${_common_deps} qt-plugin-sqlite quassel-client-shared>=${version}_${revision}"
license="GPL-3"
configure_args="-DEMBED_DATA=1 -DWANT_QTCLIENT=ON -DWANT_MONO=ON -DWANT_CORE=ON -DWITH_OPENSSL=ON -DWITH_DBUS=ON -DWITH_PHONON=ON -DWITH_WEBKIT=ON"
system_accounts="quassel"
homepage="http://www.quassel-irc.org"
distfiles="http://quassel-irc.org/pub/quassel-${version}.tar.bz2"
checksum=93e4e54cb3743cbe2e5684c2fcba94fd2bc2cd739f7672dee14341b49c29444d
post_install() {
vsv quasselcore
}
quassel-shared_package() {
short_desc="${_desc} - common files"
unset depends
pkg_install() {
vmove /usr/share/icons
vmove /usr/share/pixmaps
}
}
quassel-client-shared_package() {
short_desc="${_desc} - common client files"
depends="quassel-shared>=${version}_${revision}"
pkg_install() {
vmove /usr/share/quassel
}
}
quassel-core_package() {
replaces="quasselcore>=0"
conflicts="quasselcore>=0"
depends="${_common_deps} qt-plugin-sqlite quassel-shared>=${version}_${revision}"
short_desc="${_desc} - server"
pkg_install() {
vmove /usr/bin/quasselcore
vmove /etc/sv
}
}
quassel-client_package() {
replaces="quasselclient>=0"
conflicts="quasselclient>=0"
depends="${_common_deps} quassel-client-shared>=${version}_${revision}"
short_desc="${_desc} - distributed client"
pkg_install() {
vmove /usr/share/applications/quasselclient.desktop
vmove /usr/bin/quasselclient
}
}