wok-next view syasokoban/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents 7506b35e1c6f
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="syasokoban"
4 VERSION="2.0.1"
5 CATEGORY="games"
6 SHORT_DESC="Sokoban clone"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 BSD"
9 WEB_SITE="https://grayskygames.com/sokoban.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
14 BUILD_DEPENDS="sdl-dev"
16 compile_rules() {
17 sed -i 's|<stdlib.h>|&\n#include <unistd.h>|' src/Main.cpp
18 make || return 1
20 mkdir -p $install/usr/share/syasokoban/
21 cp -r $src/syasokoban $src/data $install/usr/share/syasokoban/
23 install -Dm644 $stuff/sokoban.desktop $install/usr/share/applications/sokoban.desktop
24 install -Dm755 $stuff/syasokoban $install/usr/bin/syasokoban
25 }
27 genpkg_rules() {
28 copy @std
29 DEPENDS="sdl gcc-lib-base glibc-base"
30 }