summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index fba6451c565..982dc616890 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = todoist-linux-bin
pkgdesc = Unofficial desktop client for Todoist
- pkgver = 0.5
- pkgrel = 2
+ pkgver = 0.5.0
+ pkgrel = 3
url = http://todoistlinux.hakimouake.com/
arch = x86_64
license = unknown
@@ -13,9 +13,9 @@ pkgbase = todoist-linux-bin
depends = nss
conflicts = todoist
options = !strip
- source = https://s3.amazonaws.com/kamhix/downloads/todoist-linux-64bits.tar.gz
+ source = https://github.com/kamhix/todoist-linux/releases/download/v0.5-beta/todoist-0.5.0-linux-x64.tar.gz
source = Todoist.desktop
- sha512sums = 942d073844a955e5c70fdd57d61b849fb227f50b13529466fd26955fb2a3cab17d08941f57451e0298ee6025b23eebc391f082bafad83c7e3f2f0b53ab1a02f4
+ sha512sums = 12a616395a548891201cfbf51162fee2f7385c1588235b5ae11290b2c2f11d9386670234cfa8bca9b8aa82b807479917c06515ec05a64132040f60d5721f2dfe
sha512sums = 8c3a96c0582833edd43efdf36b126e25c0c98fe34bc9e1c43c32bde350f69f090b75c89fd795a1decdd9bca9fdd35e776a43aabb04c6306a32d5b43da41fe143
pkgname = todoist-linux-bin
diff --git a/PKGBUILD b/PKGBUILD
index a3fc9dbc40b..e295a0a47a6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Milo Gilad <myl0gcontact@gmail.com>
_pkgname=todoist
pkgname=todoist-linux-bin
-pkgver=0.5
-pkgrel=2
+pkgver=0.5.0
+pkgrel=3
epoch=
pkgdesc="Unofficial desktop client for Todoist"
arch=(x86_64)
@@ -10,7 +10,7 @@ url="http://todoistlinux.hakimouake.com/"
license=('unknown')
depends=('gconf' 'libnotify' 'alsa-lib' 'gtk2' 'libxtst' 'nss')
conflicts=('todoist')
-source=("https://s3.amazonaws.com/kamhix/downloads/todoist-linux-64bits.tar.gz"
+source=("https://github.com/kamhix/todoist-linux/releases/download/v${pkgver%.0}-beta/todoist-${pkgver}-linux-x64.tar.gz"
"Todoist.desktop")
options=('!strip')
@@ -18,10 +18,10 @@ options=('!strip')
package() {
# Main Files
install -d "${pkgdir}/opt/${_pkgname}"
- cp -a "${srcdir}/64/." "${pkgdir}/opt/${_pkgname}"
+ cp -ra "${srcdir}/." "${pkgdir}/opt/${_pkgname}"
# Make executable
- chmod 755 "${pkgdir}/opt/${_pkgname}/Todoist"
+ chmod -R 755 "${pkgdir}/opt/${_pkgname}"
# Desktop entry
install -d "${pkgdir}/usr/share/applications"
@@ -29,8 +29,7 @@ package() {
# Binary link
install -d "${pkgdir}/usr/bin"
- ln -s "/opt/${_pkgname}/Todoist" "${pkgdir}/usr/bin/${_pkgname}"
+ ln -s "/opt/${_pkgname}/todoist" "${pkgdir}/usr/bin/${_pkgname}"
}
-
-sha512sums=('942d073844a955e5c70fdd57d61b849fb227f50b13529466fd26955fb2a3cab17d08941f57451e0298ee6025b23eebc391f082bafad83c7e3f2f0b53ab1a02f4'
+sha512sums=('12a616395a548891201cfbf51162fee2f7385c1588235b5ae11290b2c2f11d9386670234cfa8bca9b8aa82b807479917c06515ec05a64132040f60d5721f2dfe'
'8c3a96c0582833edd43efdf36b126e25c0c98fe34bc9e1c43c32bde350f69f090b75c89fd795a1decdd9bca9fdd35e776a43aabb04c6306a32d5b43da41fe143')