updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / palm-sdk / PKGBUILD
blobf16ee6684601018ae4ddf5b8f3b44d1712701345
1 # Maintainer: Thomas Weißschuh <thomas_weissschuh || lavabit || com>
2 # Contributor: Ryan Corder <ryanc@greengrey.org>
4 pkgname=palm-sdk
5 pkgver=3.0.5
6 pkgrel=1
7 pkgdesc="WebOS SDK: emulator-image, cmd-line tools, framework, samples, etc."
8 url="http://developer.palm.com/index.php"
9 arch=('i686' 'x86_64')
10 license=("custom")
11 depends=('java-environment>=6')
12 optdepends=('palm-novacom=1.0.80'
13             'virtualbox<=4.1' 'virtualbox>=4.0: for emulator usage'
14             'palm-sdk-oldimages: for emulator support of older phones')
15 options=(!strip)
16 source=("http://cdn.downloads.palm.com/sdkdownloads/${pkgver}.676/sdkBinaries/palm-sdk_${pkgver}-svn528736-pho676_i386.deb"
17         "palm-sdk.install")
18 install='palm-sdk.install'
20 build() {
22     cd $srcdir
24     tar zxvf ${srcdir}/data.tar.gz -C $pkgdir
26     rm -rf ${pkgdir}/usr/local
27     rm -rf ${pkgdir}/usr/share
29     mkdir ${pkgdir}/usr/bin
30     mkdir -p ${pkgdir}/usr/share/licenses/${pkgname}
32     ln -s /opt/PalmSDK/Current/share/documentation/legal/* ${pkgdir}/usr/share/licenses/${pkgname}
34     ln -s /opt/PalmSDK/Current/bin/palm-{emulator,generate,install,launch,log,package,worm}     ${pkgdir}/usr/bin/
35     ln -s /opt/PalmSDK/Current/bin/palminspector                                                ${pkgdir}/usr/bin/
36     # sdl-config conflicts with binary from 'sdl'
37     #ln -s /opt/PalmPDK/Current/bin/{devprofile,nova-browser,pdk-device-install,pdk-ssh-init,sdl-config} ${pkgdir}/usr/bin/
39 sha1sums=('97b862a07e4631f60a28a2bdb4ff9f343be22e07'
40           '4e4a352b78d887fce1d195604a434b9bd1d0ba0b')