summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorElXreno2019-01-06 09:57:10 +0300
committerElXreno2019-01-06 09:57:10 +0300
commit7fe85757eb4898e7e495f3dd0ff04c4bf61e300f (patch)
tree2c932950b015acab7f5a004d6fb70bb248c12a6e /PKGBUILD
downloadaur-7fe85757eb4898e7e495f3dd0ff04c4bf61e300f.tar.gz
Init
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD33
1 files changed, 33 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..7f9e4ea227b
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: ElXreno <elxreno@gmail.com>
+
+pkgname=rescuetime2
+pkgver=2.14.2.1
+pkgrel=1
+pkgdesc="Application time-tracking for Linux. Stable version"
+arch=('i686' 'x86_64')
+url=https://www.rescuetime.com
+license=('GPL2')
+depends=('qt4' 'xorg-xprop' 'xprintidle')
+source_i686=("${pkgname}_${pkgver}_i686.deb"::"$url/installers/rescuetime_current_i386.deb")
+source_x86_64=("${pkgname}_${pkgver}_amd64.deb"::"$url/installers/rescuetime_current_amd64.deb")
+sha256sums_i686=('311b3b07b9919c2154abc8da6ac5fe87d443d2526bd26667fc18680b3089cc8c')
+sha256sums_x86_64=('ca9a0d437169e43e539d044f6aad7b1acb33fde461f381774f596778320581b3')
+
+pkgver() {
+ grep Version control | cut --fields=2 -d' '
+}
+
+prepare() {
+ bsdtar -xf control.tar.gz control
+ bsdtar -xf data.tar.xz
+}
+
+package() {
+ install -Dm644 {,"$pkgdir"/}usr/share/rescuetime/curl-ca-bundle.crt
+ install -Dm755 {,"$pkgdir"/}usr/bin/rescuetime
+}
+
+post_install() {
+ echo "Firefox Add-on: https://addons.mozilla.org/en-us/firefox/addon/rescuetime-for-firefox/"
+ echo "Chrome Extension: https://chrome.google.com/webstore/detail/bdakmnplckeopfghnlpocafcepegjeap"
+}