aboutsummaryrefslogtreecommitdiffstats
path: root/PKGBUILD
blob: 8923fc379c68ad9d886e84371d8393655403ec31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Maintainer: Johannes Löthberg <johannes@kyriasis.com>
# Contributor: Gaetan Bisson <bisson@archlinux.org>

pkgname=quassel-light
pkgver=0.9.2
pkgrel=1
pkgdesc="Modern, cross-platform, distributed IRC client; built with few dependencies"
arch=('i686' 'x86_64')
url="http://quassel-irc.org/"
license=('GPL')
depends=('qt4')
optdepends=('qca-ossl')
makedepends=('cmake' 'automoc4')
provides=('quassel-core' 'quassel-client')
conflicts=('quassel-core' 'quassel-client')
install=quassel.install
backup=(etc/conf.d/quassel)
source=("http://quassel-irc.org/pub/quassel-$pkgver.tar.bz2"
				'quassel.service'
				'quassel.conf')
sha256sums=('f04d01602509c1d950602502e5f51aba47d99c73a9c70e77c563bb7749fc53c0'
						'91a1aaae47d41c11aa418dd560039ddbbfb659e02b86379d8c4789c5ada362d3'
						'f3031ea8217e01ba42cea14606169e3e27affa5918968ffd5a03c21ae92fe2b8')

build() {
	cd quassel-$pkgver
	cmake	-DCMAKE_INSTALL_PREFIX=/usr/ \
				-DWITH_KDE=OFF \
				-DWITH_WEBKIT=OFF \
				-DWITH_PHONON=OFF \
				-DWITH_LIBINDICATE=OFF \
				-DCMAKE_BUILD_TYPE="Release" \
				-Wno-dev
	make
}

package() {
	make -C quassel-$pkgver DESTDIR="$pkgdir" install
	install -Dm644 quassel.service "$pkgdir"/usr/lib/systemd/system/quassel.service
	install -Dm644 quassel.conf "$pkgdir"/etc/conf.d/quassel
}

# vim: set ts=2 sts=2 sw=2 noet: