mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
33 lines
979 B
Bash
33 lines
979 B
Bash
# $Id: PKGBUILD 45526 2009-07-12 14:38:31Z ronald $
|
|
# Maintainer: Ronald van Haren <ronald.archlinux.org>
|
|
# Contributor: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgname=koffice-doc
|
|
pkgver=2.0.1
|
|
pkgrel=1
|
|
pkgdesc="Documentation for koffice"
|
|
arch=('i686' 'x86_64')
|
|
url='http://koffice.kde.org'
|
|
license=('GPL' 'LGPL' 'FDL')
|
|
depends=("koffice>=${pkgver}")
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4' 'boost' 'eigen')
|
|
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
|
|
|
|
cd doc
|
|
make || return 1
|
|
make DESTDIR=${pkgdir} install
|
|
|
|
# Files below are in the koffice package
|
|
rm -rf ${pkgdir}/usr/share/applications/kde4/koffice.desktop
|
|
}
|