2014-05-25 00:48:14 +08:00
|
|
|
# Maintainer: Francesco Marinucci <franzmari[at]chakra-project[dot]it>
|
2010-05-31 00:30:09 +08:00
|
|
|
|
|
|
|
pkgname=quassel
|
2014-05-25 00:48:14 +08:00
|
|
|
pkgver=0.10.0
|
2013-05-28 01:47:58 +08:00
|
|
|
pkgrel=1
|
2014-05-25 00:48:14 +08:00
|
|
|
pkgdesc="Qt4 irc client with a separated core"
|
2010-05-31 00:30:09 +08:00
|
|
|
url="http://quassel-irc.org"
|
2013-03-06 10:53:36 +08:00
|
|
|
arch=('x86_64')
|
2010-05-31 00:30:09 +08:00
|
|
|
license=('GPL')
|
2013-03-06 10:53:36 +08:00
|
|
|
depends=('kde-runtime' 'hicolor-icon-theme')
|
2010-05-31 00:30:09 +08:00
|
|
|
makedepends=('cmake' 'automoc4')
|
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)
|
2014-05-25 00:48:14 +08:00
|
|
|
md5sums=('382466a7790979c172b7d7edf10a2981'
|
2013-03-06 10:53:36 +08:00
|
|
|
'95045bafa9bf965d0e2febd5b49514ea'
|
|
|
|
'479229556ba0dd94e3ce28e31e5deea9')
|
|
|
|
|
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/ \
|
|
|
|
-DWITH_KDE=1 \
|
|
|
|
-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
|
|
|
|
|
2013-03-06 10:53:36 +08:00
|
|
|
install -D ${srcdir}/$pkgname.service ${pkgdir}/usr/lib/systemd/system/$pkgname.service
|
|
|
|
install -D -m644 ${srcdir}/$pkgname.conf ${pkgdir}/etc/conf.d/$pkgname
|
2010-05-31 00:30:09 +08:00
|
|
|
}
|