updated on Mon Jan 16 00:01:41 UTC 2012
[aur-mirror.git] / qt-symbian / PKGBUILD
blob72ce9add48acdffdad46befeb14e8d36e2362833
1 # Contributor: Bernhard Friedreich <friesoft@gmail.com>
3 pkgname=qt-symbian
4 pkgver=4.6.3
5 pkgrel=3
6 pkgdesc="Qt for symbian"
7 url="http://cabledogs.org/abinader/2010/08/18/updated-unofficial-qt-for-symbian-4-6-3-all-in-one-linux-installer-script/"
8 license=('GPL')
9 arch=('i686' 'x86_64')
10 depends=('wine' 'zlib' 'openssl' 'gnupoc')
11 [ "$CARCH" == "x86_64" ] && depends=('bin32-wine' 'zlib' 'openssl')
12 install=qt-symbian.install
14 build() {
15   cd $srcdir
17    if [ -d downloads ]; then
18     cd downloads
19   else
20     mkdir downloads
21     cd downloads
22   fi
24   wget -c http://get.qt.nokia.com/qt/source/qt-symbian-opensource-4.6.3.exe
25   wget -c http://get.qt.nokia.com/qt/solutions/qt-mobility-symbian-opensource-1.0.2.zip
26   wget -c -O Nokia_Smart_Installer_for_Symbian_v1_0.zip http://www.forum.nokia.com/piazza/wiki/images/e/e0/Nokia_Smart_Installer_for_Symbian_v1_0.zip?20100624193424
27   wget -c http://franciscoalecrim.com/abinader/qt_for_symbian_4.6.3_all_in_one_linux_installer_v3.sh
28   wget -c http://martin.st/symbian/gnupoc-package-1.15.tar.gz
30   install -d $pkgdir/opt/qt463symbian
31   export EPOCROOT=/opt/gnupoc1_15/symbian-sdks/5.0/
32   export PATH=$pkgdir/opt/qt463symbian/bin:/opt/gnupoc1_15/bin:$PATH
34   chmod +x qt_for_symbian_4.6.3_all_in_one_linux_installer_v3.sh
35   ./qt_for_symbian_4.6.3_all_in_one_linux_installer_v3.sh $srcdir/downloads $pkgdir/opt/qt463symbian