nongnu: anytype: Avoid manually unpacking .deb file.

* nongnu/packages/productivity.scm (anytype)[phases] Drop
'unpack-deb phase;
[native-inputs]: drop tar.

Signed-off-by: Jonathan Brielmaier <jonathan.brielmaier@web.de>
This commit is contained in:
Giacomo Leidi 2023-10-07 11:21:28 +02:00 committed by Jonathan Brielmaier
parent 62d1c7ab6b
commit 13114fa36d
No known key found for this signature in database
GPG key ID: ECFC83988B4E4B9F

View file

@ -58,14 +58,6 @@
("usr/share/" "/share")) ("usr/share/" "/share"))
#:phases #:phases
#~(modify-phases %standard-phases #~(modify-phases %standard-phases
(add-after 'unpack 'unpack-deb
(lambda* (#:key inputs #:allow-other-keys)
(invoke "ar" "x" #$source)
(invoke "rm" "-v" "control.tar.gz"
"debian-binary"
(string-append "anytype-" #$version ".deb"))
(invoke "tar" "xvf" "data.tar.xz")
(invoke "rm" "-vrf" "data.tar.xz")))
(add-before 'install 'patch-assets (add-before 'install 'patch-assets
(lambda _ (lambda _
(let* ((bin (string-append #$output "/bin")) (let* ((bin (string-append #$output "/bin"))
@ -86,7 +78,6 @@
(symlink target exe) (symlink target exe)
(wrap-program exe (wrap-program exe
`("LD_LIBRARY_PATH" = (,share))))))))) `("LD_LIBRARY_PATH" = (,share)))))))))
(native-inputs (list tar))
(inputs (inputs
(list bzip2 (list bzip2
flac flac