Compare commits

...

2 Commits

Author SHA1 Message Date
Pradana AUMARS 9bfc856a63 Update README, add build requirements 2021-06-29 19:45:20 +02:00
Pradana AUMARS 0370ce68cf Add Guix package scheme 2021-06-29 19:42:27 +02:00
2 changed files with 46 additions and 1 deletions

12
README
View File

@ -10,4 +10,14 @@ Requirements
* sdl2
* sdl2-ttf
* fontconfig
* Liberation Mono fonts
* Liberation Mono fonts
Build requirements
==================
* autoconf
* automake
* pkg-config
If you run GNU Guix, please use the following package scheme in the URL below:
https://forge.chapril.org/pradana.aumars/pong/raw/branch/master/pong.scm

35
pong.scm Normal file
View File

@ -0,0 +1,35 @@
(use-modules (guix packages)
(guix download)
(guix build-system gnu)
(guix licenses)
(gnu packages sdl)
(gnu packages fontutils)
(gnu packages fonts)
(gnu packages autotools)
(gnu packages pkg-config))
(package
(name "pong")
(version "0.1-alpha")
(source (origin
(method url-fetch)
(uri (string-append "https://forge.chapril.org/pradana.aumars/pong/archive/" version
".tar.gz"))
(sha256
(base32
"0wcwbaw51bj865fhhc55zz433zgskchjsw63nxa2zskj1ww0xfsj"))))
(build-system gnu-build-system)
(inputs
`(("sdl2" ,sdl2)
("sdl2-ttf" ,sdl2-ttf)
("fontconfig" ,fontconfig)
("font-liberation" ,font-liberation)))
(native-inputs
`(("autoconf" ,autoconf)
("automake" ,automake)
("pkg-config" ,pkg-config)))
(synopsis "Implementation of Pong")
(description
"This is a basic implementation of Pong. It's not very good.")
(home-page "https://forge.chapril.org/pradana.aumars/pong")
(license gpl3))