updated on Thu Jan 26 00:18:00 UTC 2012
[aur-mirror.git] / qt-components-symbian-git / PKGBUILD
blob3de0c6b7399b3a7323db4537e1f32475467da45d
1 # Contributor: Bernhard Friedreich <friesoft@gmail.com>
2 # Contributor: Tim Besard <tim.besard@gmail.com>
4 pkgname=qt-components-symbian-git
5 pkgver=20120105
6 pkgrel=1
8 pkgdesc="Research project to create Qt/QML components and models."
9 url="http://gitorious.org/qt-components"
10 license=('GPL')
11 arch=('i686' 'x86_64')
12 depends=('qt>=4.7')
13 makedepends=('git')
15 provides=( "qt-components-git=${pkgver}" "qt-components=${pkgver}" )
16 conflicts=( "qt-components" )
18 _gitroot="git://gitorious.org/qt-components/qt-components.git"
19 _gitname="qt-components-git"
21 build() {
22     # Export the include dir
23     export QTDIR="/usr"
24     export INCLUDE="/usr/include"
26     msg "Connecting to the GIT server..."
27     if [ -d ${_gitname}/.git ]; then
28         cd ${_gitname}
29         git pull
30     else
31         git clone ${_gitroot} ${_gitname}
32         cd ${_gitname}
33     fi
34     
35     ./configure -symbian || return 1
36     make || return 1
39 package () {
40     cd ${_gitname}
41     make INSTALL_ROOT=$pkgdir install || return 1