Commit 30c70fa5 authored by Natanael Copa's avatar Natanael Copa

community/quassel: modernize and use qt5

parent 5ab8cc42
......@@ -2,14 +2,15 @@
pkgname=quassel
pkgver=0.13.0
pkgrel=0
pkgrel=1
url="http://www.quassel-irc.org/"
pkgdesc="Distributed IRC client - metapackage"
arch="all"
license="GPL"
install="quassel-core.pre-install"
depends="quassel-common"
makedepends="qt-dev cmake dbus-dev openssl-dev paxmark"
makedepends="qt5-qtbase-dev qt5-qtscript-dev cmake dbus-dev openssl-dev paxmark
zlib-dev"
subpackages="$pkgname-common::noarch $pkgname-core $pkgname-client"
source="http://www.quassel-irc.org/pub/quassel-$pkgver.tar.bz2
quasselcore.confd
......@@ -24,23 +25,19 @@ build() {
-DCMAKE_INSTALL_PREFIX=/usr/ \
-DWITH_KDE=0 \
-DCMAKE_BUILD_TYPE="Release" \
-DWITH_OPENSSL=ON \
-DWANT_CORE=ON \
-DWANT_MONO=ON \
-DWANT_QTCLIENT=ON \
-DWITH_DBUS=OFF \
-DWITH_OXYGEN=OFF \
-DWITH_PHONON=OFF \
-DWITH_WEBKIT=OFF \
-DUSE_QT4=ON \
../quassel-$pkgver/ || return 1
-DUSE_QT4=OFF \
../quassel-$pkgver/
make
}
package() {
cd "$srcdir"/build
make DESTDIR="$pkgdir" install/fast || return 1
paxmark -m "$pkgdir"/usr/bin/quasselcore || return 1
make DESTDIR="$pkgdir" install/fast
paxmark -m "$pkgdir"/usr/bin/quasselcore
}
common() {
......@@ -55,11 +52,11 @@ core() {
pkgdesc="Core component of distributed IRC client"
depends="$pkgname-common"
mkdir -p "$subpkgdir"/usr/bin
mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/ || return 1
mv "$pkgdir"/usr/bin/quasselcore "$subpkgdir"/usr/bin/
install -Dm0644 "$srcdir"/quasselcore.confd \
"$subpkgdir"/etc/conf.d/quasselcore || return 1
"$subpkgdir"/etc/conf.d/quasselcore
install -Dm0755 ${srcdir}/quasselcore.initd \
"$subpkgdir"/etc/init.d/quasselcore || return 1
"$subpkgdir"/etc/init.d/quasselcore
}
client() {
......@@ -67,7 +64,7 @@ client() {
depends="$pkgname-common"
mkdir -p "$subpkgdir"/usr/bin \
"$subpkgdir"/usr/share/
mv "$pkgdir"/usr/bin/quasselclient "$subpkgdir"/usr/bin/ || return 1
mv "$pkgdir"/usr/bin/quasselclient "$subpkgdir"/usr/bin/
mv "$pkgdir"/usr/share/pixmaps \
"$pkgdir"/usr/share/applications \
"$subpkgdir"/usr/share/
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment