summaryrefslogtreecommitdiff
path: root/homebrew/sdlpop/.beer
blob: fe296f2308d2f4a532dc689cbc5ffb19fe9a5ba3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
    "name": "Sdlpop",
    "description": "Open-source port of Prince of Persia",
    "url": "https://github.com/NagyD/SDLPoP/archive/v1.18.1.tar.gz",
    "mirror": null,
    "homepage": "https://github.com/NagyD/SDLPoP",
    "depends": [
        {
            "depend": "pkg-config",
            "build-depend": true
        },
        {
            "depend": "sdl2",
            "build-depend": false
        },
        {
            "depend": "sdl2_image",
            "build-depend": false
        },
        {
            "depend": "sdl2_mixer",
            "build-depend": false
        }
    ],
    "resource": [],
    "conflicts": [],
    "patches": [],
    "install": [
        "system \"make\", \"-C\", \"src\"",
        "doc.install Dir[\"doc/*\"]",
        "libexec.install \"data\"",
        "libexec.install \"prince\"",
        "pkgvar = var/\"sdlpop\"",
        "pkgvar.install \"SDLPoP.ini\" unless (pkgvar/\"SDLPoP.ini\").exist?",
        "(bin/\"prince\").write <<~EOS",
        "#!/bin/bash",
        "cd \"#{pkgvar}\" && exec \"#{libexec}/prince\" $@",
        "EOS"
    ],
    "version": "1.18.1",
    "file": "sdlpop.rb"
}