61 lines
1.7 KiB
Bash
61 lines
1.7 KiB
Bash
# Template file for 'quassel'
|
|
pkgname=quassel
|
|
version=0.12.3
|
|
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=4d3ee91b85cce3d8df62faf55ad35bebd6fc45085ed6248b8a41d2858de3d434
|
|
|
|
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
|
|
}
|
|
}
|