Merge pull request 'update-guix-package' (#1) from TakeV/gib-gab-gob:update-guix-package into main
Reviewed-on: #1
This commit is contained in:
commit
77625ede95
|
@ -0,0 +1,3 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
autoreconf -vif
|
13
guix.scm
13
guix.scm
|
@ -3,17 +3,26 @@
|
||||||
((guix licenses) #:prefix license:)
|
((guix licenses) #:prefix license:)
|
||||||
(guix download)
|
(guix download)
|
||||||
(guix build-system gnu)
|
(guix build-system gnu)
|
||||||
|
(guix gexp)
|
||||||
(gnu packages)
|
(gnu packages)
|
||||||
(gnu packages autotools)
|
(gnu packages autotools)
|
||||||
(gnu packages guile)
|
(gnu packages guile)
|
||||||
(gnu packages guile-xyz)
|
(gnu packages guile-xyz)
|
||||||
(gnu packages pkg-config)
|
(gnu packages pkg-config)
|
||||||
(gnu packages texinfo))
|
(gnu packages texinfo)
|
||||||
|
(srfi srfi-1))
|
||||||
|
|
||||||
|
(define (keep-file? file stat)
|
||||||
|
(not (any (lambda (my-string)
|
||||||
|
(string-contains file my-string))
|
||||||
|
(list ".git" ".dir-locals.el" "guix.scm"))))
|
||||||
|
|
||||||
(package
|
(package
|
||||||
(name "gib-gab-gob")
|
(name "gib-gab-gob")
|
||||||
(version "0.1")
|
(version "0.1")
|
||||||
(source "./gib-gab-gob-0.1.tar.gz")
|
(source (local-file (dirname (current-filename))
|
||||||
|
#:recursive? #t
|
||||||
|
#:select? keep-file?))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
(arguments
|
(arguments
|
||||||
`(#:modules
|
`(#:modules
|
||||||
|
|
33
hall.scm
33
hall.scm
|
@ -16,31 +16,32 @@
|
||||||
(files (libraries
|
(files (libraries
|
||||||
((directory
|
((directory
|
||||||
"gib-gab-gob"
|
"gib-gab-gob"
|
||||||
((compiled-scheme-file "game")
|
((compiled-scheme-file "board")
|
||||||
(scheme-file "rps")
|
(compiled-scheme-file "game")
|
||||||
(scheme-file "game")
|
(scheme-file "game")
|
||||||
(compiled-scheme-file "board")
|
|
||||||
(scheme-file "board")
|
(scheme-file "board")
|
||||||
|
(scheme-file "rps")
|
||||||
(compiled-scheme-file "rps")))))
|
(compiled-scheme-file "rps")))))
|
||||||
(tests ((directory "tests" ())))
|
(tests ())
|
||||||
(programs
|
(programs
|
||||||
((directory
|
((directory
|
||||||
"scripts"
|
"scripts"
|
||||||
((in-file "make-joiner")
|
((in-file "make-joiner")
|
||||||
(in-file "make-initiator")
|
(in-file "make-initiator")
|
||||||
(text-file "make-initiator")
|
(text-file "make-joiner")
|
||||||
(text-file "make-joiner")))))
|
(text-file "make-initiator")))))
|
||||||
(documentation ((org-file "README")))
|
(documentation
|
||||||
|
((org-file "README") (text-file "COPYING")))
|
||||||
(infrastructure
|
(infrastructure
|
||||||
((in-file "pre-inst-env")
|
((automake-file "Makefile")
|
||||||
|
(autoconf-file "configure")
|
||||||
|
(text-file ".gitignore")
|
||||||
|
(scheme-file "hall")
|
||||||
(directory
|
(directory
|
||||||
"build-aux"
|
"build-aux"
|
||||||
((tex-file "texinfo")
|
((scheme-file "test-driver")
|
||||||
(scheme-file "test-driver")
|
|
||||||
(text-file "missing")
|
(text-file "missing")
|
||||||
(text-file "install-sh")
|
(text-file "install-sh")))
|
||||||
(text-file "mdate-sh")))
|
(in-file "pre-inst-env")
|
||||||
(scheme-file "hall")
|
(scheme-file "guix")
|
||||||
(text-file ".gitignore")
|
(shell-file "bootstrap")))))
|
||||||
(autoconf-file "configure")
|
|
||||||
(automake-file "Makefile")))))
|
|
||||||
|
|
Loading…
Reference in New Issue