2010-05-31 00:30:09 +08:00
|
|
|
pkgname=quassel
|
2016-05-05 07:47:34 +08:00
|
|
|
pkgver=0.12.4
|
2016-03-04 06:30:17 +08:00
|
|
|
pkgrel=1
|
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')
|
2016-05-05 07:47:34 +08:00
|
|
|
depends=('qt5-base' 'knotifyconfig' 'qt5-webkit' 'qt5-script' 'qca-qt5' 'openssl')
|
2015-07-20 12:19:20 +08:00
|
|
|
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"
|
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)
|
2016-05-05 07:47:34 +08:00
|
|
|
sha1sums=('0976e6c08a73d4138c7e09eba8975746562c6b76'
|
2016-03-04 06:30:17 +08:00
|
|
|
'40b801ad664e9e0f0d5f1260f7545b6842dd11e8'
|
|
|
|
'575d09f165f12ba35e560be54c8e1cd92321bb4b')
|
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 \
|
2016-05-05 07:47:34 +08:00
|
|
|
-DHAVE_SSL=TRUE \
|
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
|
|
|
}
|