mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
33 lines
1,004 B
Bash
33 lines
1,004 B
Bash
# $Id: PKGBUILD 53875 2009-10-03 18:02:00Z andrea $
|
|
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
|
|
# Contributor: James Rayner <iphitus@gmail.com>
|
|
# Contributor: Sergio Jovani Guzman <moret@paretux.org>
|
|
|
|
pkgname=konversation
|
|
pkgver=1.2.rc1
|
|
_pkgver=1.2-rc1
|
|
pkgrel=1
|
|
pkgdesc="A user friendly IRC client for KDE"
|
|
arch=('i686' 'x86_64')
|
|
url="http://konversation.kde.org"
|
|
depends=('kdebase-runtime' 'libxss' 'kdepimlibs' 'qca')
|
|
makedepends=('automoc4' 'cmake' 'pkgconfig')
|
|
license=('GPL2' 'FDL')
|
|
install=konversation.install
|
|
source=(http://download.kde.org/unstable/${pkgname}/${_pkgver}/src/${pkgname}-${_pkgver}.tar.bz2)
|
|
md5sums=('9a672517399354296ec13a9368cbfcb8')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
|
|
mkdir build
|
|
cd build
|
|
|
|
cmake ../${pkgname}-${_pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_SKIP_RPATH=ON \
|
|
-DCMAKE_{SHARED,MODULE,EXE}_LINKER_FLAGS='-Wl,--no-undefined -Wl,--as-needed' \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install || return 1
|
|
}
|