mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 18:42:12 +08:00
45 lines
1.1 KiB
Bash
45 lines
1.1 KiB
Bash
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
|
|
|
pkgname=quassel
|
|
pkgver=0.11.0
|
|
pkgrel=1
|
|
pkgdesc="Qt4 irc client with a separated core"
|
|
url="http://quassel-irc.org"
|
|
arch=('x86_64')
|
|
license=('GPL')
|
|
depends=('kde-runtime' 'hicolor-icon-theme')
|
|
makedepends=('cmake' 'automoc4')
|
|
categories=('communication')
|
|
screenshot=('http://quassel-irc.org/files/images/snapshot13.preview.png')
|
|
source=("http://quassel-irc.org/pub/quassel-${pkgver}.tar.bz2"
|
|
'quassel.service'
|
|
'quassel.conf')
|
|
install=quassel.install
|
|
backup=(etc/conf.d/quassel.conf)
|
|
md5sums=('b6a89db333eb225760f95becd3680ca8'
|
|
'95045bafa9bf965d0e2febd5b49514ea'
|
|
'479229556ba0dd94e3ce28e31e5deea9')
|
|
|
|
build() {
|
|
[[ ! -d build ]] && mkdir build
|
|
cd build
|
|
|
|
cmake \
|
|
-DCMAKE_INSTALL_PREFIX=/usr/ \
|
|
-DWITH_KDE=1 \
|
|
-DCMAKE_BUILD_TYPE="Release" \
|
|
../${pkgname}-${pkgver}/ \
|
|
-Wno-dev
|
|
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd build
|
|
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
install -D ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
|
|
install -D -m644 ${srcdir}/$pkgname.conf ${pkgdir}/etc/conf.d/$pkgname
|
|
}
|