mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-01-24 10:32:13 +08:00
42 lines
1.2 KiB
Bash
42 lines
1.2 KiB
Bash
#
|
|
# 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
|
|
|
|
pkgname=quassel
|
|
pkgver=0.7.2
|
|
pkgrel=1
|
|
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
|
|
}
|
|
md5sums=('feaf686a8a5c433baa4ddb0410802442'
|
|
'91e414cb313430a2360f1a594b1d6ed3'
|
|
'479229556ba0dd94e3ce28e31e5deea9')
|