mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
31 lines
1 KiB
Bash
31 lines
1 KiB
Bash
# $Id: PKGBUILD 45144 2009-07-07 21:34:53Z ronald $
|
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
|
|
pkgname=koffice
|
|
pkgver=2.0.1
|
|
pkgrel=2
|
|
pkgdesc="A free, integrated office suite for KDE, the K Desktop Environment"
|
|
arch=('i686' 'x86_64')
|
|
url='http://koffice.kde.org'
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=('kdebase-runtime' 'kdepimlibs' 'glew' 'exiv2>=0.18' 'wv2' 'libwpd' 'gsl'
|
|
'qca' 'poppler-qt' 'qimageblitz' 'lcms' 'xdg-utils' 'shared-mime-info'
|
|
'pstoedit' 'graphicsmagick')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'eigen')
|
|
options=('!docs')
|
|
install='koffice.install'
|
|
source=("http://download.kde.org/stable/koffice-${pkgver}/src/koffice-${pkgver}.tar.bz2")
|
|
md5sums=('86fb3660c2b87495d1bf84da9044d441')
|
|
|
|
build() {
|
|
cd ${srcdir}
|
|
mkdir build
|
|
cd build
|
|
cmake ../koffice-${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
|
|
}
|