Guest User

rescuetime-2.9.10.1255 PKGBUILD

a guest
Jun 7th, 2016
147
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # Maintainer: Limao Luo <luolimao+AUR@gmail.com>
  2. # Contributor: kaptoxic dragos240
  3.  
  4. pkgname=rescuetime
  5. pkgver=2.9.10.1255
  6. pkgrel=1
  7. pkgdesc="Application time-tracking for Linux. Stable version"
  8. arch=(i686 x86_64)
  9. url=https://www.rescuetime.com
  10. license=(GPL2)
  11. depends=(qt4 xorg-xprop xprintidle)
  12. conflicts=($pkgname-beta)
  13. install=$pkgname.install
  14. changelog=$pkgname.changelog
  15.  
  16. if [[ $CARCH == "x86_64" ]]
  17. then
  18. _suffix=amd64
  19. md5sums=('bd81f31fbb13a5b73ac5bf41bbf243f6')
  20. else
  21. _suffix=i386
  22. md5sums=('79ef7170b5e047712751fa769fd21465')
  23. fi
  24.  
  25. source=($url/installers/rescuetime_current_$_suffix.deb)
  26.  
  27. package() {
  28. bsdtar -xf data.tar.gz
  29. install -Dm755 usr/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
  30. install -Dm755 usr/share/$pkgname/curl-ca-bundle.crt "$pkgdir"/usr/share/$pkgname/curl-ca-bundle.crt
  31. }
RAW Paste Data