summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichal Zuber2022-12-27 10:05:56 +0100
committerMichal Zuber2022-12-27 10:05:56 +0100
commit6c7af5c886b85e126ff5a7c891a7ec4f4cab9d7d (patch)
tree119385826eb93ffe644c4fbd42b2d3532b5adebc
parent312043e50e5c908caef7d7faa63d3eb3a8808a9a (diff)
downloadaur-6c7af5c886b85e126ff5a7c891a7ec4f4cab9d7d.tar.gz
Update to 6.0.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD23
2 files changed, 8 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 431da2b77a9c..72edf2d92b7f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,18 +1,16 @@
pkgbase = desktime
pkgdesc = Desktime client for Linux
- pkgver = 5.1.30
+ pkgver = 6.0.0
pkgrel = 0
url = https://desktime.com
install = desktime.install
- arch = i686
arch = x86_64
license = custom
depends = desktop-file-utils
depends = hicolor-icon-theme
depends = libappindicator-gtk2
depends = libxss
- source = desktime-5.1.30.deb::https://desktime.com/updates/linux/update/?x64
- md5sums = 4521ce6d95e24af9377109252a12334a
+ source = desktime-6.0.0.deb::https://desktime.com/updates/electron/linux?deb
+ md5sums = 8d9fbf67074d1feec730c0983aeb3c46
pkgname = desktime
-
diff --git a/PKGBUILD b/PKGBUILD
index 0d112191ef39..f3d07ecd53dc 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,32 +1,19 @@
pkgname=desktime
-pkgver=5.1.30
+pkgver=6.0.0
pkgrel=0
pkgdesc="Desktime client for Linux"
-arch=('i686' 'x86_64')
+arch=('x86_64')
url="https://desktime.com"
license=(custom)
depends=(desktop-file-utils hicolor-icon-theme libappindicator-gtk2 libxss)
install=$pkgname.install
-if [[ $CARCH == 'i686' ]]; then
- source=("$pkgname-$pkgver.deb::https://desktime.com/updates/linux/update/?i386")
- md5sums=('124d4dc0bfc27dd12c1f7bdd01c842e1')
-else
- source=("$pkgname-$pkgver.deb::https://desktime.com/updates/linux/update/?x64")
- md5sums=('4521ce6d95e24af9377109252a12334a')
-fi
+source=("$pkgname-$pkgver.deb::https://desktime.com/updates/electron/linux?deb")
+md5sums=('8d9fbf67074d1feec730c0983aeb3c46')
package()
{
- cd "$srcdir"
- bsdtar -xf data.tar.xz -C "$srcdir/"
-
- mkdir -p "$pkgdir"/usr
- cp -a "$srcdir/usr/lib" "$pkgdir/usr/"
- cp -a "$srcdir/usr/share" "$pkgdir/usr/"
-
- sudo rm -f /usr/bin/desktime-linux
- sudo ln -s "/usr/lib/desktime-linux/desktime-linux" "/usr/bin/desktime-linux"
+ bsdtar -xf data.tar.xz -C "$pkgdir/"
}
# vim:et:sw=4:sts=4