mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-18 22:54:00 +00:00
31 lines
777 B
Bash
31 lines
777 B
Bash
# $Id: PKGBUILD 41406 2009-06-03 22:26:19Z pierre $
|
|
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
|
|
|
|
pkgname=kdelibs-experimental
|
|
pkgver=4.3.2
|
|
pkgrel=1
|
|
pkgdesc="KDE Experimental Libraries"
|
|
arch=('i686' 'x86_64')
|
|
url='http://www.kde.org'
|
|
license=('GPL' 'LGPL')
|
|
depends=('kdelibs')
|
|
makedepends=('pkgconfig' 'cmake' 'automoc4')
|
|
source=("http://download.kde.org/stable/${pkgver}/src/${pkgname}-${pkgver}.tar.bz2")
|
|
md5sums=('d473afb133b5b7d3ead9699c17fe6761')
|
|
|
|
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
|
|
}
|
|
|
|
package() {
|
|
cd $srcdir/build
|
|
make DESTDIR=$pkgdir install
|
|
}
|