updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / meego-sdk-attica / PKGBUILD
blob939818c0feda352080e510c274808b04d018a425
1 # Maintainer: Andrea Scarpino <andrea@archlinux.org>
3 pkgname=meego-sdk-attica
4 pkgver=0.2.80
5 pkgrel=1
6 _rpmver=1.43
7 pkgdesc='Qt library that implements the Open Collaboration Services API'
8 arch=('i686' 'x86_64')
9 url='http://www.kde.org'
10 license=('LGPL2.1')
11 depends=('meego-sdk-qt')
12 makedepends=('cmake')
13 source=("http://download.meego.com/live/Tools:/SDK:/Host/Trunk/src/attica-${pkgver}-${_rpmver}.src.rpm")
14 md5sums=('b8d6e7909ba8e629abec8586f3dd5fa4')
16 build() {
17   export QTDIR=" `meego-sdk-qmake -query QT_INSTALL_PREFIX` "
19   cd "${srcdir}"
20   tar -zxf attica-${pkgver}.tar.gz
22   cd attica-${pkgver}
23   mkdir build
24   cd build
25   cmake ..\
26     -DCMAKE_INSTALL_PREFIX=/opt/meego/attica\
27     -DCMAKE_C_COMPILER:FILEPATH="cc"\
28     -DCMAKE_CXX_COMPILER:FILEPATH="g++"\
29     -DCMAKE_SKIP_RPATH=ON \
30     -DCMAKE_USE_RELATIVE_PATHS=ON \
31     -DCMAKE_VERBOSE_MAKEFILE=ON \
32     -DCMAKE_SKIP_RPATH:BOOL=OFF\
33     -DCMAKE_USE_RELATIVE_PATHS=ON\
34     -DCMAKE_SHARED_LINKER_FLAGS="-Wl"\
35     -DCMAKE_MODULE_LINKER_FLAGS="-Wl"\
36     -DCMAKE_EXE_LINKER_FLAGS="-Wl"\
37     -DLIB_DESTINATION:STRING="/opt/meego/attica/lib"
38   make 
40     
41 package() {
42   cd "${srcdir}"/attica-${pkgver}/build
43   make DESTDIR="${pkgdir}" install