PKGBUILD 1.2 KB
Newer Older
Phil Miller's avatar
Phil Miller committed
1 2 3 4 5 6 7 8
#
# 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
Manuel Tortosa's avatar
Manuel Tortosa committed
9 10

pkgname=quassel
abveritas's avatar
abveritas committed
11
pkgver=0.7.1
12
pkgrel=2
Manuel Tortosa's avatar
Manuel Tortosa committed
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
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')
source=("$url/system/files/$pkgname-$pkgver.tar.bz2"
	'rc.quassel'
        'quassel.conf')
install=quassel.install
backup=(etc/conf.d/quassel.conf)

build() {
  cd ${srcdir}

  mkdir build
  cd build

  cmake -D CMAKE_INSTALL_PREFIX=/usr/ -DWITH_KDE=1 -D CMAKE_BUILD_TYPE="Release" ../$pkgname-$pkgver/ -Wno-dev || return 1
  make || return 1
  make DESTDIR=${pkgdir} install

  install -D -m755 ${srcdir}/rc.quassel \
    ${pkgdir}/etc/rc.d/quassel || return 1
  install -D -m644 $srcdir/quassel.conf $pkgdir/etc/conf.d/quassel || return 1
}
abveritas's avatar
abveritas committed
39
md5sums=('31c832f6f79d5236785c3dd888088621'
Manuel Tortosa's avatar
Manuel Tortosa committed
40 41
         '91e414cb313430a2360f1a594b1d6ed3'
         '479229556ba0dd94e3ce28e31e5deea9')