Advertisement
Guest User

ArchLinux minus-uploader 1.8 PKGBUILD

a guest
Mar 18th, 2012
172
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.85 KB | None | 0 0
  1. # Maintainer: Giorgio Gilestro <giorgio@gilest.ro>
  2.  
  3. pkgname="minus-uploader"
  4. pkgver="1.8"
  5. pkgrel=1
  6. pkgdesc="Desktop app that allows you to drag-n-drop files into the taskbar and instantly upload to Minus"
  7. url="https://minus.com/pages/tools"
  8. license=('GPL')
  9. arch=('i686' 'x86_64')
  10. makedepends=('binutils' 'tar')
  11. depends=('qt' 'qjson')
  12.  
  13. if [ "${CARCH}" == 'x86_64' ]; then
  14.  
  15. _debarch='amd64'
  16.  
  17. elif [ "${CARCH}" == 'i686' ]; then
  18.  
  19. _debarch='i386'
  20.  
  21. fi
  22.  
  23. _sourcefile="minus-desktop-tool_${_debarch}.deb"
  24. source=("http://blog.minus.com/updates/${_sourcefile}")
  25.  
  26. [ "${CARCH}" == 'x86_64' ] && md5sums=('8202eec862486e0d776990a3302b60e5')
  27. [ "${CARCH}" == 'i686' ] && md5sums=('a916dc057f77ae08e1e82fc72da383db')
  28.  
  29. build() {
  30.  
  31. true
  32.  
  33. }
  34.  
  35. package() {
  36.  
  37. cd ${srcdir}/
  38. ar -p ${_sourcefile} data.tar.gz | tar zxf - -C "${pkgdir}" || return 1
  39.  
  40. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement