From d04541d75869a32b5e99ff8d2e00584054323468 Mon Sep 17 00:00:00 2001 From: alex Date: Sat, 24 Jun 2023 12:40:30 -0700 Subject: [PATCH] ... --- osu.scm | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/osu.scm b/osu.scm index ad98b21..981b922 100644 --- a/osu.scm +++ b/osu.scm @@ -1,5 +1,6 @@ (define-module (infiniteadaptability packages osu) #:use-module (guix download) + #:use-module (guix gexp) #:use-module (nonguix build-system binary) #:use-module (guix licenses) #:use-module (guix packages)) @@ -11,20 +12,27 @@ (version version) (source (origin (method url-fetch) - (uri (string-append "https://github.com/ppy/osu/releases/download/" - version - "/osu.AppImage")) + (uri (string-append + "https://github.com/ppy/osu/releases/download/" version + "/osu.AppImage")) (sha256 (base32 "0qjri6rjzlfxlphx0v7ydi19c7ai3bblyn9d22ij75glgm75n0a0")))) (build-system binary-build-system) (arguments - (list #:phases - #~(modify-phases %standard-phases - (add-after 'install 'symlink-binary-file-and-cleanup - (lambda _ - (delete-file (string-append #$output "/environment-variables")) - (mkdir-p (string-append #$output "/bin"))))))) + (list #:phases #~(modify-phases %standard-phases + (delete 'strip-binaries) + (delete 'validate-runpath) + (delete 'make-dynamic-linker-cache) + (add-after 'install 'symlink-binary-file-and-cleanup + (lambda _ + (delete-file (string-append #$output + "/environment-variables")) + (chmod (string-append #$output "/osu.AppImage") + #o755) + (mkdir-p (string-append #$output "/bin")) + (symlink (string-append #$output "/osu.AppImage") + (string-append #$output "/bin/osu"))))))) (home-page "https://osu.ppy.sh/home") (synopsis "The bestest free-to-win rhythm game") (description "osu!") -- 2.30.2