Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=1fc642278892060fa517abb9b2943e3abc9af583

commit 1fc642278892060fa517abb9b2943e3abc9af583
Author: exceed <[email protected]>
Date:   Mon Feb 15 23:20:58 2010 +0100

android-sdk-r04-1-i686

* Version bump
* Fixed up2date, source & build()
* Append README

diff --git a/source/devel-extra/android-sdk/FrugalBuild 
b/source/devel-extra/android-sdk/FrugalBuild
index f364e2f..fb41188 100644
--- a/source/devel-extra/android-sdk/FrugalBuild
+++ b/source/devel-extra/android-sdk/FrugalBuild
@@ -1,29 +1,31 @@
-# Compiling Time: 0.06 SBU
+# Compiling Time: 0.01 SBU
# Maintainer: exceed <[email protected]>

pkgname=android-sdk
-pkgver=1.6_r1
-_F_archive_name=$pkgname-linux_x86
+pkgver=r04
+pkgextraver=-linux_86
+Fpkgversep="_"
pkgrel=1
pkgdesc="Software development kit for Android"
url="http://developer.android.com";
groups=('devel-extra')
archs=('i686')
rodepends=('ncurses' 'sdl' 'libxext' 'swt')
-source=(http://dl.google.com/android/$_F_archive_name-$pkgver.tgz 
README.Frugalware $pkgname.sh)
-up2date="lynx -dump $url/sdk/ | grep 'Redirecting to' | cut -d '/' -f2"
+source=(http://dl.google.com/android/${pkgname}${Fpkgversep}${pkgver}${pkgextraver}.tgz
 \
+       README.Frugalware \
+       $pkgname.sh)
+up2date="Flastarchive http://developer.android.com/sdk/index.html .tgz"
options=('nobuild')
-sha1sums=('18c5d25777839b19e09095fa74b5c3babf18986f' \
-          '252bb65b63abefb98702948e07116e478bcff3b5' \
+sha1sums=('3e86b9a6a7420deaa9829c4b3e668c189cd79365' \
+          '2594ba3229b216d7aab09dd4e5d2a3ce82e2ea40' \
'cc9288f0e9d2b93150e504f32db1000917ef737b')

build()
{
-       Fmkdir /usr/lib /etc/profile.d /usr/share/doc
+       Fmkdir /usr/lib /etc/profile.d
Finstallrel 755 ${pkgname}.sh /etc/profile.d
-       Fcp $_F_archive_name-$pkgver /usr/lib/$pkgname
+       Fcp ${pkgname}${pkgextraver} /usr/lib/$pkgname
Fdirschmod /usr/lib/$pkgname 755
Ffileschmod /usr/lib/$pkgname/tools 755
-       Fmv /usr/lib/$pkgname/docs /usr/share/doc/$pkgname-$pkgver
}

diff --git a/source/devel-extra/android-sdk/README.Frugalware 
b/source/devel-extra/android-sdk/README.Frugalware
index e4ab071..4cf041a 100644
--- a/source/devel-extra/android-sdk/README.Frugalware
+++ b/source/devel-extra/android-sdk/README.Frugalware
@@ -2,7 +2,7 @@ Setting up Android SDK :
---------------------------------------------
# repoman upd
# repoman merge android-sdk
-# pacman-g2 -A android-sdk-1.6_r1-1-i686.fpm
+# pacman-g2 -A android-sdk-r04-1-i686.fpm
---------------------------------------------

You should open a new shell to have android-sdk/tools/ in the path.
@@ -12,7 +12,7 @@ If you want to use your Android phone as a proxy, see these 
pages :

* with Proxoid : http://code.google.com/p/proxoid/wiki/installationLinux

-* Proxoid for french users/HTC G1 : 
http://blogs.frugalware-fr.org/exceed/2009/08/14/transformer-son-telephone-android-en-modem-usb/
+* Proxoid for french users/HTC G1 : http://blog.archambeau.info/?p=9

* with Tetherbot : http://graha.ms/androidproxy/
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to