Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

PKGBUILD für qtadb

By: a guest on Jan 23rd, 2011  |  syntax: None  |  size: 1.27 KB  |  hits: 133  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Gordin <9ordin @t gmail dot com>
  2. # Contributor: Tomas Hetmer <tomas at hetmer dot net>
  3.  
  4. pkgname=qtadb
  5. pkgver=0.7.6
  6. pkgrel=4
  7. pkgdesc="GUI for Android SDK/ADB, Android phone manager"
  8. arch=('i686' 'x86_64')
  9. url="http://qtadb.wordpress.com/"
  10. license=('custom:"Proprietary"')
  11. install=${pkgname}.install
  12. depends=('qt' 'android-sdk')
  13.  
  14. [ "$CARCH" = 'x86_64' ] && _architecture=('64')
  15. [ "$CARCH" = 'i686' ] && _architecture=('32')
  16.  
  17. _srcdir="${srcdir}/QtADB_${pkgver}_linux${_architecture}"
  18.  
  19. source=("http://downloads.sourceforge.net/project/qtadb/QtADB%20${pkgver}/new/QtADB_${pkgver}_linux${_architecture}.tar.gz"
  20.         "qtadb.desktop" "qtadb.png") # Official website does not provide easily downloadable tgz/zip; mirror
  21.  
  22. [ "$CARCH" = 'x86_64' ] && md5sums=('d905894fffb290c952844e91dc26cbe7' '66dfb4e467c156b99acf2c4711134cb7' 'e27b5da6b0b6ad185201ea073857da28')
  23. [ "$CARCH" = 'i686' ] && md5sums=('dca3a92934779e241e3a1b4fd6258e44' '66dfb4e467c156b99acf2c4711134cb7' 'e27b5da6b0b6ad185201ea073857da28')
  24.  
  25.  
  26.  
  27. build() {
  28.   chmod +x $_srcdir/QtADB
  29.   install -Dm644 $startdir/qtadb.png "$pkgdir/usr/share/pixmaps/$pkgname.png"
  30.   install -Dm644 $startdir/qtadb.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
  31.   install -Dm755 $_srcdir/QtADB "$pkgdir/usr/bin/QtADB"
  32. }