blob: 41d9de7c2d0e9313e8a5eb3c6418006cf3d07ac3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
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
39
|
# $Id: PKGBUILD 124658 2011-05-23 19:42:48Z andrea $
# Maintainer: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Pierre Schmitz <pierre@archlinux.de>
pkgname=kdebase-runtime
_pkgname=kde-runtime
pkgver=4.6.80
pkgrel=1
pkgdesc="KDE Base Runtime Environment"
arch=('i686' 'x86_64')
url='http://www.kde.org'
license=('GPL' 'LGPL')
depends=('kdelibs' 'ntrack' 'smbclient' 'libssh' 'libcanberra' 'oxygen-icons'
'xorg-xauth' 'hicolor-icon-theme' 'libqzeitgeist')
makedepends=('pkg-config' 'cmake' 'automoc4' 'kdepimlibs' 'openslp' 'xine-lib')
optdepends=('htdig: to build the search index in khelpcenter'
'rarian: needed by khelpcenter'
'gdb: drkonq crash handler')
install="${pkgname}.install"
source=("http://download.kde.org/stable/${pkgver}/src/${_pkgname}-${pkgver}.tar.bz2")
sha1sums=('5d06c11f43beb21ebf6c47d2a7addcbe710e019e')
build() {
cd "${srcdir}"
mkdir build
cd build
cmake ../${_pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr
make
}
package() {
cd "$srcdir/build"
make DESTDIR="$pkgdir" install
rm -f "${pkgdir}/usr/share/icons/hicolor/index.theme"
ln -sf /usr/lib/kde4/libexec/kdesu "${pkgdir}/usr/bin/"
}
|