mirror of
https://gitlab.com/nonguix/nonguix.git
synced 2024-11-22 00:18:07 +01:00
nongnu: anytype: Update to 0.37.3.
* nongnu/packages/productivity.scm (anytype): Update to 0.37.3; [arguments]<phases>: avoid hardcoding the icon path in anytype.desktop. Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
parent
1f91ecd3c0
commit
f325d88cb6
1 changed files with 3 additions and 5 deletions
|
@ -24,17 +24,17 @@
|
||||||
(define-public anytype
|
(define-public anytype
|
||||||
(package
|
(package
|
||||||
(name "anytype")
|
(name "anytype")
|
||||||
(version "0.36.0")
|
(version "0.37.3")
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method url-fetch)
|
(method url-fetch)
|
||||||
(uri
|
(uri
|
||||||
(string-append "https://download.anytype.io?action=download"
|
(string-append "https://download.anytype.io?action=download"
|
||||||
"&key=desktop&id=136705969"))
|
"&key=desktop&id=142685264"))
|
||||||
(file-name (string-append "anytype-" version ".deb"))
|
(file-name (string-append "anytype-" version ".deb"))
|
||||||
(sha256
|
(sha256
|
||||||
(base32
|
(base32
|
||||||
"17cs4w3k7nmjav873wwzpxb2dz4mp2zgkpz1karp3x2mxan0x2i3"))))
|
"197v4dsn21yfi9dhcrqdznz3vfzicd79fc4abbpifacgb4fxcxq8"))))
|
||||||
(build-system chromium-binary-build-system)
|
(build-system chromium-binary-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
(list
|
(list
|
||||||
|
@ -61,12 +61,10 @@
|
||||||
(add-before 'install 'patch-assets
|
(add-before 'install 'patch-assets
|
||||||
(lambda _
|
(lambda _
|
||||||
(let* ((bin (string-append #$output "/bin"))
|
(let* ((bin (string-append #$output "/bin"))
|
||||||
(icon (string-append #$output "/share/icons/hicolor/0x0/apps/anytype.png"))
|
|
||||||
(usr/share "./usr/share")
|
(usr/share "./usr/share")
|
||||||
(old-exe "/opt/Anytype/anytype")
|
(old-exe "/opt/Anytype/anytype")
|
||||||
(exe (string-append bin "/anytype")))
|
(exe (string-append bin "/anytype")))
|
||||||
(substitute* (string-append usr/share "/applications/anytype.desktop")
|
(substitute* (string-append usr/share "/applications/anytype.desktop")
|
||||||
(("^Icon=anytype") (string-append "Icon=" icon))
|
|
||||||
(((string-append "^Exec=" old-exe)) (string-append "Exec=" exe))))))
|
(((string-append "^Exec=" old-exe)) (string-append "Exec=" exe))))))
|
||||||
(add-before 'install-wrapper 'symlink-entrypoint
|
(add-before 'install-wrapper 'symlink-entrypoint
|
||||||
(lambda _
|
(lambda _
|
||||||
|
|
Loading…
Reference in a new issue