diff options
author | Radim Sückr | 2020-09-08 17:26:58 +0200 |
---|---|---|
committer | Radim Sückr | 2020-09-08 17:26:58 +0200 |
commit | 645a4fdc602ea72d4028d905acea653e68defbff (patch) | |
tree | d584bcf1d261684a834af28cbfc6aa48cc490a92 | |
parent | c8b0902cede082eba2725df740bbdc65bd06fe25 (diff) | |
download | aur-645a4fdc602ea72d4028d905acea653e68defbff.tar.gz |
Rewrote PKGBUILD and updated to 7.5.260
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 50 | ||||
-rw-r--r-- | toggldesktop.bin | 2 | ||||
-rw-r--r-- | toggldesktop.desktop | 13 |
4 files changed, 26 insertions, 66 deletions
@@ -1,28 +1,13 @@ pkgbase = toggldesktop-bin - pkgdesc = Time Tracking Software. - pkgver = 7.5.247 - pkgrel = 5 - url = https://toggl.com/ + pkgdesc = Toggl time tracking software + pkgver = 7.5.260 + pkgrel = 1 + url = https://github.com/toggl-open-source/toggldesktop arch = x86_64 - depends = libxss - depends = openssl - depends = qt5-base - depends = qt5-declarative - depends = qt5-location - depends = qt5-sensors - depends = qt5-svg - depends = qt5-webchannel - depends = qt5-webengine - depends = qt5-webkit - depends = qt5-x11extras provides = toggldesktop conflicts = toggldesktop - source = toggldesktop.deb::https://github.com/toggl-open-source/toggldesktop/releases/download/v7.5.247/toggldesktop_7.5.247_amd64.deb - source = toggldesktop.bin - source = toggldesktop.desktop - sha512sums = 7a92ca74c76e1cd8d346939253ba2ce842b1496ad5554e066f600e7454986305c0d9a97e64996a7b5d70724c4cb009ee5d70cc889ecdb9db9009f382249837cb - sha512sums = f14c5734925424cd1f415094733233f28d26f893513d6a059a1b4f254b058b3113e2ee5d0aa7ab1b88ecad10e7f6bb171fd1eaf94529f0c0feb43a4565d389b6 - sha512sums = b75b3aef72bb978b721dbc0376556247fbbeffd34aef42bb9304116b3d9bfa7dccff57eed35fb43f76285102c4abf663ebd6ff4bc2c02bc6f674069943b1600f + source = toggldesktop.tar.gz::https://github.com/toggl-open-source/toggldesktop/releases/download/v7.5.260/toggldesktop_linux_7.5.260_x86_64.tar.gz + sha512sums = 81000b70fb886482615971d9ed18c8bb37798d0bedc9cc638d505e0bcc43c13b08540dc89c15824ea582a19b0cb0fcd7243a7bdcb2db6249b97065c8716700cc pkgname = toggldesktop-bin @@ -1,42 +1,32 @@ -# Maintainer: Whezzel <whezzel at gmail dot com> +# Maintainer: Radim Sückr <kontakt at radimsuckr dot cz> +# Contributor: Whezzel <whezzel at gmail dot com> # Contributor: Karel Louwagie <karel at louwagie dot net> # Contributor: Samuel Walladge <samuel at swalladge dot id dot au> # Contributor: Yurii Kolesnykov <root at yurikoles dot com> pkgname=toggldesktop-bin _pkgname=toggldesktop -pkgver=7.5.247 -pkgrel=5 -pkgdesc="Time Tracking Software." +pkgver=7.5.260 +pkgrel=1 +pkgdesc='Toggl time tracking software' arch=('x86_64') provides=('toggldesktop') -conflicts=('toggldesktop') +conflicts=( + 'toggldesktop' +) +url='https://github.com/toggl-open-source/toggldesktop' +source=('toggldesktop.tar.gz::https://github.com/toggl-open-source/toggldesktop/releases/download/v7.5.260/toggldesktop_linux_7.5.260_x86_64.tar.gz') +sha512sums=('81000b70fb886482615971d9ed18c8bb37798d0bedc9cc638d505e0bcc43c13b08540dc89c15824ea582a19b0cb0fcd7243a7bdcb2db6249b97065c8716700cc') -depends=('libxss' - 'openssl' - 'qt5-base' - 'qt5-declarative' - 'qt5-location' - 'qt5-sensors' - 'qt5-svg' - 'qt5-webchannel' - 'qt5-webengine' - 'qt5-webkit' - 'qt5-x11extras') -url='https://toggl.com/' -source=("toggldesktop.deb::https://github.com/toggl-open-source/toggldesktop/releases/download/v${pkgver}/toggldesktop_${pkgver}_amd64.deb" - 'toggldesktop.bin' - 'toggldesktop.desktop') +package() { + # Path taken from TogglDesktop.sh + _libdst="${pkgdir}/usr/lib/toggldesktop" + mkdir -p ${_libdst} -sha512sums=('7a92ca74c76e1cd8d346939253ba2ce842b1496ad5554e066f600e7454986305c0d9a97e64996a7b5d70724c4cb009ee5d70cc889ecdb9db9009f382249837cb' - 'f14c5734925424cd1f415094733233f28d26f893513d6a059a1b4f254b058b3113e2ee5d0aa7ab1b88ecad10e7f6bb171fd1eaf94529f0c0feb43a4565d389b6' - 'b75b3aef72bb978b721dbc0376556247fbbeffd34aef42bb9304116b3d9bfa7dccff57eed35fb43f76285102c4abf663ebd6ff4bc2c02bc6f674069943b1600f') -prepare() { - tar -xf data.tar.xz -} + cp -r "${srcdir}/bin" "${_libdst}/bin" + install -D -m 0755 "${srcdir}/TogglDesktop.sh" "${pkgdir}/usr/bin/TogglDesktop.sh" -package() { - cp -a "$srcdir/usr" "$pkgdir" - install -D -m 0755 toggldesktop.bin "$pkgdir/usr/bin/toggldesktop" - install -D -m 0755 toggldesktop.desktop "$pkgdir/usr/share/applications/com.toggl.TogglDesktop.desktop" + cp -r "${srcdir}/lib" "${_libdst}/lib" + + cp -r "${srcdir}/share" "${pkgdir}/usr/share" } diff --git a/toggldesktop.bin b/toggldesktop.bin deleted file mode 100644 index 63036b01be75..000000000000 --- a/toggldesktop.bin +++ /dev/null @@ -1,2 +0,0 @@ -#!/bin/sh -LD_LIBRARY_PATH=/usr/lib/toggldesktop /usr/bin/TogglDesktop.sh "$@" diff --git a/toggldesktop.desktop b/toggldesktop.desktop deleted file mode 100644 index 0f990c2a2d89..000000000000 --- a/toggldesktop.desktop +++ /dev/null @@ -1,13 +0,0 @@ -[Desktop Entry] -Encoding=UTF-8 -Version=1.0 -Type=Application -Terminal=false -Name=Toggl Desktop -Comment=Free Time Tracking Software -Icon=toggldesktop -TryExec=toggldesktop -Exec=toggldesktop -Categories=Office; -StartupNotify=false -StartupWMClass=Toggl Desktop |