Fix license field for Guix package

This commit is contained in:
Timotej Lazar 2022-12-27 20:17:44 +01:00
parent e75de60cc1
commit a753ae7172

View file

@ -24,6 +24,8 @@
(with-directory-excursion directory (with-directory-excursion directory
(read-line (open-pipe* OPEN_READ "git" "describe" "--always" "--tags")))) (read-line (open-pipe* OPEN_READ "git" "describe" "--always" "--tags"))))
(define license (@@ (guix licenses) license))
(define source-dir (dirname (current-filename))) (define source-dir (dirname (current-filename)))
(define-public avp (define-public avp
@ -33,7 +35,7 @@
(source (local-file source-dir #:recursive? #t #:select? (git-predicate source-dir))) (source (local-file source-dir #:recursive? #t #:select? (git-predicate source-dir)))
(build-system cmake-build-system) (build-system cmake-build-system)
(arguments (arguments
'(#:tests? #f)) (list #:tests? #f))
(inputs (inputs
(list ffmpeg mesa openal sdl2)) (list ffmpeg mesa openal sdl2))
(home-page "https://sr.ht/~jetomit/avp") (home-page "https://sr.ht/~jetomit/avp")
@ -41,6 +43,6 @@
(description "Unofficial Linux port of the game engine for the Rebellion (description "Unofficial Linux port of the game engine for the Rebellion
Developments game Aliens Versus Predator. This package does not Developments game Aliens Versus Predator. This package does not
provide game assets.") provide game assets.")
(license "file:///LICENSE"))) (license (license "avp" "file:///LICENSE" "Aliens Versus Predator license"))))
avp avp