You are not logged in.

#1 2013-02-19 10:55:18

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

rkflashtool: for flashing android devices

I'd like to have this program in AUR (if I can build it myself, great, if I can get help, better, if someone smarter than me in building such tools would be able to take it on, best!)...

Sources:
https://github.com/dpavlin/android-comm … flashtool/

references:
http://forum.xda-developers.com/showpos … ostcount=1

[more to come]


Help grow the dev population... have your tech trained and certified!

Offline

#2 2013-02-19 16:20:43

tdy
Member
From: Sacremende
Registered: 2008-12-14
Posts: 438

Re: rkflashtool: for flashing android devices

pkgname=rkflashtool-git
pkgver=20130219
pkgrel=1
pkgdesc="A tool for flashing rk2808, rk2818 and rk2918 based tablets"
arch=('i686' 'x86_64')
url="https://github.com/dpavlin/android-command-line/tree/master/rkflashtool"
license=('BSD')
depends=('libusbx')
makedepends=('git')
provides=('rkflashtool')
conflicts=('rkflashtool')

_gitroot=https://github.com/dpavlin/android-command-line.git
_gitname=android-command-line

build() {
  cd "$srcdir"
  msg "Connecting to GIT server...."

  if [[ -d "$_gitname" ]]; then
    cd "$_gitname" && git pull origin
    msg "The local files are updated."
  else
    git clone "$_gitroot" "$_gitname"
  fi

  msg "GIT checkout done or server timeout"
  msg "Starting build..."

  rm -rf "$srcdir/$_gitname-build"
  git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  cd "$srcdir/$_gitname-build/rkflashtool"

  make
}

package() {
  cd "$srcdir/$_gitname-build/rkflashtool"
  install -Dm755 rkflashtool "$pkgdir/usr/bin/rkflashtool"
  install -Dm644 rkflashtool.c "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
  sed -i '1,2d;25,$d' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}

# vim:set ts=2 sw=2 et:

Offline

#3 2013-03-08 23:50:33

CPUnltd
Member
From: Milwaukee, WI
Registered: 2009-12-05
Posts: 470
Website

Re: rkflashtool: for flashing android devices

I sincerely appreciate such a fast response to that request!  Now, if I could only get that fast of a response on my qt issue with the turbojet2 package I maintain in the repos, I'd be a seriously happy person.  Thanks a LOT! I will try this out now that I have time to do so!!!


Help grow the dev population... have your tech trained and certified!

Offline

Board footer

Powered by FluxBB