updated on Thu Jan 12 16:09:17 UTC 2012
[aur-mirror.git] / gnupoc-s60-5.0 / PKGBUILD
blob4bc5c63b5bef1f2a67c972c6ebd6a4b77bda7d5f
1 # Contributor: Bernhard Friedreich <friesoft@gmail.com>
3 pkgname=gnupoc-s60-5.0
4 pkgver=1.15
5 pkgrel=2
6 pkgdesc="S60 SDK 5th Edition (needed for 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 provides=('gnupoc')
10 arch=('i686' 'x86_64')
11 depends=('wine' 'zlib' 'openssl')
12 [ "$CARCH" == "x86_64" ] && depends=('bin32-wine' 'zlib' 'openssl')
13 install=gnupoc-s60-5.0.install
15 build() {
16   cd $srcdir
18    if [ -d downloads ]; then
19     cd downloads
20   else
21     mkdir downloads
22     cd downloads
23   fi
25   wget -c -O S60_5th_Edition_SDK_v1_0_en.zip http://sw.nokia.com/id/577ad48d-290c-4bb5-8bdf-779ea8a5bc6c/S60_5th_Edition_SDK_v1_0_en.zip
26   wget -c -O s60_open_c_cpp_plug_in_v1_6_en.zip http://qdrive.net/index.php/page-file_share-choice-download_file-id_file-161544-ce-0
27   wget -c http://www.codesourcery.com/public/gnu_toolchain/arm-none-symbianelf/gnu-csl-arm-2005Q1C-arm-none-symbianelf-i686-pc-linux-gnu.tar.bz2
28   wget -c http://martin.st/symbian/gnupoc-package-1.15.tar.gz
29   wget -c http://franciscoalecrim.com/lizardo/gnupoc_1.15_installer_v2.sh
31   install -d $pkgdir/opt/gnupoc1_15
32   chmod +x gnupoc_1.15_installer_v2.sh
33   ./gnupoc_1.15_installer_v2.sh $srcdir/downloads $pkgdir/opt/gnupoc1_15 5.0
34   chown -R 755 $pkgdir/opt/gnupoc1_15