public
Created

rescuetime 2.6.0.144

  • Download Gist
PKGBUILD
Shell
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
basename=rescuetime
pkgname="$basename-beta"
pkgver=2.6.0
pkgrel=144
pkgdesc="RescueTime time tracker software (binary beta) + firefox extension"
url="https://www.rescuetime.com"
arch=('i686' 'x86_64')
license=('GPL2')
depends=('qt' 'xprintidle')
optdepends=('firefox: site time tracking')
 
if [ $CARCH = "x86_64" ]
then
suffix="amd64"
md5sums=('b250077d37e3082e654b89e1996add31')
else
suffix="i386"
md5sums=('ea10c3c958c4ce9134951b67fbe9a7d3')
fi
 
debname="${basename}_current_$suffix.deb"
source=("$url/installers/$debname")
 
noextract=(${source[@]##*/})
 
build() {
cd "$srcdir" && \
ar x "$debname" && \
tar -zxf data.tar.gz && \
mkdir -p ${pkgdir}/usr/bin && \
cp usr/bin/rescuetime ${pkgdir}/usr/bin || return 1
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.