wok-next view syasokoban/receipt @ rev 21634
updated exiftool (11.17 -> 12.01)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jun 26 10:45:57 2020 +0100 (2020-06-26) |
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 }