summaryrefslogtreecommitdiff
path: root/Ports/pacman/package.sh
blob: 1b4ada5c689c22e461feed02fff2fe2e1118aa03 (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
#!/usr/bin/env -S bash ../.port_include.sh
port='pacman'
version='b6241a373cc09f021c2ab29714eca5f9e33463f8'
files="https://codeload.github.com/ebuc99/pacman/zip/${version} pacman.zip d688f75d33c7bf4f217bfcaf0d5ee507fd73bb233d77303927d15b54988f0231"
auth_type='sha256'
useconfigure='true'
depends=(
    'SDL2'
    'SDL2_image'
    'SDL2_ttf'
    'SDL2_mixer'
)
configopts=(
    "--with-sdl-prefix=${SERENITY_INSTALL_ROOT}/usr/local"
)
use_fresh_config_sub='true'
config_sub_paths=('config.sub')
launcher_name='Pacman'
launcher_category='Games'
launcher_command='/usr/local/bin/pacman'
icon_file='data/gfx/pacman_desktop.png'

pre_patch() {
    run ./autogen.sh
}