mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 02:22:13 +08:00
46 lines
1.2 KiB
Bash
46 lines
1.2 KiB
Bash
pkgname=quassel
|
|
pkgver=0.12.5
|
|
pkgrel=1
|
|
pkgdesc="Next-generation distributed IRC client"
|
|
arch=('x86_64')
|
|
url="http://quassel-irc.org"
|
|
license=('GPL')
|
|
depends=('qt5-base' 'knotifyconfig' 'qt5-webkit' 'qt5-script' 'qca-qt5' 'openssl')
|
|
makedepends=('cmake' 'extra-cmake-modules' 'qt5-tools' 'python3')
|
|
replaces=('quassel-qt4')
|
|
categories=('communication')
|
|
screenshot=('http://quassel-irc.org/files/images/snapshot13.preview.png')
|
|
source=("https://quassel-irc.org/pub/quassel-${pkgver}.tar.bz2"
|
|
'quassel.service'
|
|
'quassel.conf')
|
|
install=quassel.install
|
|
backup=(etc/conf.d/quassel.conf)
|
|
sha1sums=('ad30d49ab670ba8927e0e0caa8ac36b29f08bd0d'
|
|
'40b801ad664e9e0f0d5f1260f7545b6842dd11e8'
|
|
'575d09f165f12ba35e560be54c8e1cd92321bb4b')
|
|
|
|
build() {
|
|
[[ ! -d build ]] && mkdir build
|
|
cd build
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr/ \
|
|
-DUSE_QT5=ON \
|
|
-DWITH_KDE=ON \
|
|
-DHAVE_SSL=TRUE \
|
|
-DCMAKE_BUILD_TYPE="Release" \
|
|
../${pkgname}-${pkgver}/ \
|
|
-Wno-dev
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -D -m644 ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
|
|
install -D -m644 ${srcdir}/$pkgname.conf ${pkgdir}/etc/conf.d/$pkgname
|
|
}
|