Advertisement
jamesan

Changes to the AUR package, rescuetime

May 4th, 2016
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 6.47 KB | None | 0 0
  1. diff --git a/.SRCINFO b/.SRCINFO
  2. index efb80ec..cd101cf 100644
  3. --- a/.SRCINFO
  4. +++ b/.SRCINFO
  5. @@ -1,7 +1,7 @@
  6.  pkgbase = rescuetime
  7.     pkgdesc = Application time-tracking for Linux. Stable version
  8.     pkgver = 2.9.10.1255
  9. -   pkgrel = 1
  10. +   pkgrel = 3
  11.     url = https://www.rescuetime.com
  12.     install = rescuetime.install
  13.     changelog = rescuetime.changelog
  14. @@ -12,8 +12,10 @@ pkgbase = rescuetime
  15.     depends = xorg-xprop
  16.     depends = xprintidle
  17.     conflicts = rescuetime-beta
  18. -   source = https://www.rescuetime.com/installers/rescuetime_current_amd64.deb
  19. -   md5sums = bd81f31fbb13a5b73ac5bf41bbf243f6
  20. +   source_i686 = https://www.rescuetime.com/installers/rescuetime_current_i386.deb
  21. +   md5sums_i686 = 79ef7170b5e047712751fa769fd21465
  22. +   source_x86_64 = https://www.rescuetime.com/installers/rescuetime_current_amd64.deb
  23. +   md5sums_x86_64 = bd81f31fbb13a5b73ac5bf41bbf243f6
  24.  
  25.  pkgname = rescuetime
  26.  
  27. diff --git a/.gitignore b/.gitignore
  28. new file mode 100644
  29. index 0000000..43316bc
  30. --- /dev/null
  31. +++ b/.gitignore
  32. @@ -0,0 +1,27 @@
  33. +# From: https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore
  34. +
  35. +*.tar
  36. +*.tar.*
  37. +*.zip
  38. +*.tgz
  39. +*.log
  40. +*.log.*
  41. +*.sig
  42. +
  43. +# makepkg working folders
  44. +pkg
  45. +src
  46. +
  47. +#
  48. +# Additional ignore patterns:
  49. +#
  50. +
  51. +# Source files
  52. +*.deb
  53. +*.gem
  54. +*.out
  55. +*.rpm
  56. +*.html
  57. +
  58. +# Ignore package source folders
  59. +*/*
  60. diff --git a/PKGBUILD b/PKGBUILD
  61. index 4299c62..3985deb 100644
  62. --- a/PKGBUILD
  63. +++ b/PKGBUILD
  64. @@ -4,29 +4,30 @@
  65.  
  66.  pkgname=rescuetime
  67.  pkgver=2.9.10.1255
  68. -pkgrel=1
  69. +pkgrel=4
  70.  pkgdesc="Application time-tracking for Linux. Stable version"
  71. -arch=(i686 x86_64)
  72. -url=https://www.rescuetime.com
  73. -license=(GPL2)
  74. -depends=(qt4 xorg-xprop xprintidle)
  75. -conflicts=($pkgname-beta)
  76. +arch=('i686' 'x86_64')
  77. +url='https://www.rescuetime.com'
  78. +license=('GPL2')
  79. +depends=('qt4' 'xorg-xprop' 'xprintidle')
  80. +conflicts=("$pkgname-beta")
  81.  install=$pkgname.install
  82.  changelog=$pkgname.changelog
  83. +source_i686=("$url/installers/${pkgname}_current_i386.deb")
  84. +source_x86_64=("$url/installers/${pkgname}_current_amd64.deb")
  85. +md5sums_i686=('79ef7170b5e047712751fa769fd21465')
  86. +md5sums_x86_64=('bd81f31fbb13a5b73ac5bf41bbf243f6')
  87.  
  88. -if [[ $CARCH == "x86_64" ]]
  89. -then
  90. -    _suffix=amd64
  91. -md5sums=('bd81f31fbb13a5b73ac5bf41bbf243f6')
  92. -else
  93. -    _suffix=i386
  94. -md5sums=('79ef7170b5e047712751fa769fd21465')
  95. -fi
  96. +pkgver() {
  97. +  grep Version control | cut --fields=2 -d' '
  98. +}
  99.  
  100. -source=($url/installers/rescuetime_current_$_suffix.deb)
  101. +prepare() {
  102. +  bsdtar -xf control.tar.gz control
  103. +  bsdtar -xf data.tar.gz
  104. +}
  105.  
  106.  package() {
  107. -    bsdtar -xf data.tar.gz
  108. -    install -Dm755 usr/bin/$pkgname "$pkgdir"/usr/bin/$pkgname
  109. -    install -Dm644 usr/share/$pkgname/curl-ca-bundle.crt "$pkgdir"/usr/share/$pkgname/curl-ca-bundle.crt
  110. +  install -Dm644 {,"$pkgdir"/}usr/share/$pkgname/curl-ca-bundle.crt
  111. +  install -Dm755 {,"$pkgdir"/}usr/bin/$pkgname
  112.  }
  113. diff --git a/rescuetime.changelog b/rescuetime.changelog
  114. index 60a138e..2344eab 100644
  115. --- a/rescuetime.changelog
  116. +++ b/rescuetime.changelog
  117. @@ -1,13 +1,114 @@
  118.  RescueTime for Linux Release Notes
  119. -2.8.5.890 - 2013/11/19 (Beta)
  120. +2.9.10.1255 - 2016/04/21 (Release)
  121. +
  122. +Changes
  123. +
  124. +  Fixed issue where Chrome was not collecting website information.
  125. +  Removed a major memory leak while collecting website information in Chrome/Firefox.
  126. +  Optimized Chrome website collection.
  127. +
  128. +2.9.10.1250 - 2016/04/15
  129. +
  130. +Changes
  131. +
  132. +  Updated a software dependency to fix an issue on Windows with RescueTime keeping the computer awake.
  133. +
  134. +2.9.10.1230 - 2015/12/17
  135. +
  136. +Changes
  137. +
  138. +  Forcing SSL usage and verifying peer for more secure communications.
  139. +
  140. +2.8.9.1185 - 2015/8/31
  141. +
  142. +Changes
  143. +
  144. +  Fix for opening more than just http:// links from RescueTime alerts.
  145. +
  146. +2.8.9.1170 - 2015/7/9
  147. +
  148. +Changes
  149. +
  150. +  FocusTime end notifying server for other IFTTT / Zapier services.
  151. +
  152. +2.8.9.1165 - 2015/6/10
  153. +
  154. +Changes
  155. +
  156. +  FocusTime duration sent to server when starting session.
  157. +  Removed information from debug log, unless higher logging level is used.
  158. +
  159. +2.8.9.1160 - 2015/6/4
  160. +
  161. +Changes
  162. +
  163. +  Fixed the secondary window title collector, removed extra string and quotes.
  164. +  Now encoding the FocusTime redirect URL.
  165. +
  166. +2.8.9.1155 - 2015/5/28
  167. +
  168. +Changes
  169. +
  170. +  Fix for configuration loading issue with OfflineTime labels containing - or ,
  171. +  Added more debug prints to track down crashing issues.
  172. +
  173. +2.8.9.1150 - 2015/5/7
  174. +
  175. +Changes
  176. +
  177. +  Release of Menu changes and fixed ui threading crashes.
  178. +  Fixed pause for 60 minutes displaying until midnight.
  179. +
  180. +2.8.9.1145 - 2015/5/4
  181. +
  182. +Changes
  183. +
  184. +  Modified Menu to show Pause and Focus time remaining, change to Unpause button.
  185. +  Testing a FocusTime shutoff command from server.
  186. +  Fix for google-chrome-unstable location.
  187. +  Fix for google-chrome location changes for communicating with extension.
  188. +  Several fixed regardning the new menu system.
  189. +  Fix for two possible ui thread crashes.
  190. +
  191. +2.8.8.1040 - 2015/2/3
  192. +
  193. +  Idle Activity feature to not go idle for some period of time with specific activities (for movies).
  194. +  Support for firefox-dev to collect website information.
  195. +
  196. +2.8.7.1025 - 2014/12/29
  197. +
  198. +  Idle Activity feature to not go idle for some period of time with specific activities.
  199. +  Support information shows premium/lite status for diagnostic purposes.
  200. +  Support for chrome-stable to collect website information.
  201. +
  202. +2.8.6.1015 - 2014/07/11
  203. +
  204. +Changes
  205. +
  206. +  Update data version of activity reporting to distinguish between offline and other activities.
  207. +  Removed a misleading cause for unknown default error, should have more information.
  208. +  Fixed user:taken issue when signing in with new user.
  209. +
  210. +2.8.6.988 - 2014/03/31
  211. +
  212. +Bugs Fixed
  213. +
  214. +  Fixed issue with FocusTime not turning off.
  215. +  Updated activation process.
  216. +  Removed the excessive "unknown default error" status report.
  217. +
  218. +2.8.5.964 - 2013/11/21
  219.  
  220.  Bugs Fixed
  221.  
  222. -    Reduced server load for activation.
  223. -    Disabled text entry and button on FocusTime window for lite users.
  224. -    Fixed possible but unlikely crash when loading configuration at startup.
  225. +  Reduced server load for activation.
  226. +  Disabled text entry and button on FocusTime window for lite users.
  227. +  Fixed possible but unlikely crash when loading configuration at startup.
  228. +  Fixed crash with alert messages.
  229. +  Fixed issue with seconds vs milliseconds with delay before reading url.
  230. +  Other minor bug fixes and maintenance.
  231.  
  232. -2.8.5.870 - 2013/11/14 (Release)
  233. +2.8.5.870 - 2013/11/14
  234.  
  235.  Bugs Fixed
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement