desktop/quassel/PKGBUILD

53 lines
1.3 KiB
Bash
Raw Normal View History

2010-05-31 02:50:48 +08:00
#
# Chakra Packages for Chakra, part of chakra-project.org
#
# maintainer (i686): Phil Miller <philm[at]chakra-project[dog]org>
# maintainer (x86_64): Manuel Tortosa <manutortosa[at]chakra-project[dot]org>
# include global config
source ../_buildscripts/${current_repo}-${_arch}-cfg.conf
2010-05-31 00:30:09 +08:00
pkgname=quassel
pkgver=0.7.3
pkgrel=2
2010-05-31 00:30:09 +08:00
pkgdesc="QT4 irc client with a separated core"
url="http://quassel-irc.org"
arch=('i686' 'x86_64')
license=('GPL')
depends=('kdelibs' 'oxygen-icons' 'hicolor-icon-theme' 'libindicate-qt')
makedepends=('cmake' 'automoc4')
categories=('communication')
source=("http://quassel-irc.org/pub/$pkgname-$pkgver.tar.bz2"
2010-05-31 00:30:09 +08:00
'rc.quassel'
'quassel.conf')
install=quassel.install
backup=(etc/conf.d/quassel.conf)
build() {
[[ ! -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
package() {
2010-05-31 00:30:09 +08:00
cd build
make DESTDIR=${pkgdir} install
install -D ${srcdir}/rc.$pkgname \
${pkgdir}/etc/rc.d/$pkgname
install -D -m644 ${srcdir}/$pkgname.conf \
${pkgdir}/etc/conf.d/$pkgname
2010-05-31 00:30:09 +08:00
}
md5sums=('f12b2b09d8ebe533781aa969597d671c'
2010-05-31 00:30:09 +08:00
'91e414cb313430a2360f1a594b1d6ed3'
'479229556ba0dd94e3ce28e31e5deea9')