2010-05-31 00:30:09 +08:00
|
|
|
pkgname=quassel
|
2015-04-29 07:39:02 +08:00
|
|
|
pkgver=0.12.2
|
2015-11-17 08:23:41 +08:00
|
|
|
pkgrel=5
|
2015-04-29 07:39:02 +08:00
|
|
|
pkgdesc="Next-generation distributed IRC client"
|
2013-03-06 10:53:36 +08:00
|
|
|
arch=('x86_64')
|
2015-11-12 08:51:34 +08:00
|
|
|
url="http://quassel-irc.org"
|
2010-05-31 00:30:09 +08:00
|
|
|
license=('GPL')
|
2015-07-20 12:19:20 +08:00
|
|
|
depends=('qt5-base>=5.5' 'knotifyconfig' 'qt5-webkit' 'qt5-script' 'qca-qt5')
|
|
|
|
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools' 'python3')
|
2015-11-11 22:40:00 +08:00
|
|
|
replaces=('quassel-qt4')
|
2012-03-16 22:51:37 +08:00
|
|
|
categories=('communication')
|
2013-03-06 10:53:36 +08:00
|
|
|
screenshot=('http://quassel-irc.org/files/images/snapshot13.preview.png')
|
2012-03-31 06:30:25 +08:00
|
|
|
source=("http://quassel-irc.org/pub/quassel-${pkgver}.tar.bz2"
|
2015-07-20 12:19:20 +08:00
|
|
|
"http://bugs.quassel-irc.org/attachments/download/449/0001-Fix-build-with-Qt-5.5.patch"
|
2015-11-12 08:51:34 +08:00
|
|
|
"fix-ssl-detection.patch"
|
2013-03-06 10:53:36 +08:00
|
|
|
'quassel.service'
|
2010-05-31 00:30:09 +08:00
|
|
|
'quassel.conf')
|
|
|
|
install=quassel.install
|
|
|
|
backup=(etc/conf.d/quassel.conf)
|
2015-04-29 07:39:02 +08:00
|
|
|
md5sums=('f5473a9c5927a0e8cb3a204ced887aa8'
|
2015-07-20 12:19:20 +08:00
|
|
|
'314e6b01dc6657ba48e87c2244f78377'
|
2015-11-12 08:51:34 +08:00
|
|
|
'54137dc71bd4d68acf414f65571dcb07'
|
2013-03-06 10:53:36 +08:00
|
|
|
'95045bafa9bf965d0e2febd5b49514ea'
|
|
|
|
'479229556ba0dd94e3ce28e31e5deea9')
|
2015-07-20 12:19:20 +08:00
|
|
|
|
|
|
|
prepare() {
|
|
|
|
cd ${pkgname}-${pkgver}
|
|
|
|
patch -Np1 -i ../0001-Fix-build-with-Qt-5.5.patch
|
2015-11-12 08:51:34 +08:00
|
|
|
patch -Np1 -i ../fix-ssl-detection.patch
|
2015-07-20 12:19:20 +08:00
|
|
|
}
|
2013-03-06 10:53:36 +08:00
|
|
|
|
2010-05-31 00:30:09 +08:00
|
|
|
build() {
|
2011-12-23 03:26:36 +08:00
|
|
|
[[ ! -d build ]] && mkdir build
|
|
|
|
cd build
|
|
|
|
|
|
|
|
cmake \
|
|
|
|
-DCMAKE_INSTALL_PREFIX=/usr/ \
|
2015-04-29 07:39:02 +08:00
|
|
|
-DUSE_QT5=ON \
|
|
|
|
-DWITH_KDE=ON \
|
2011-12-23 03:26:36 +08:00
|
|
|
-DCMAKE_BUILD_TYPE="Release" \
|
|
|
|
../${pkgname}-${pkgver}/ \
|
|
|
|
-Wno-dev
|
|
|
|
|
|
|
|
make
|
|
|
|
}
|
2010-05-31 00:30:09 +08:00
|
|
|
|
2011-12-23 03:26:36 +08:00
|
|
|
package() {
|
2010-05-31 00:30:09 +08:00
|
|
|
cd build
|
|
|
|
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
|
2015-11-17 08:23:41 +08:00
|
|
|
install -D -m644 ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
|
2013-03-06 10:53:36 +08:00
|
|
|
install -D -m644 ${srcdir}/$pkgname.conf ${pkgdir}/etc/conf.d/$pkgname
|
2010-05-31 00:30:09 +08:00
|
|
|
}
|