wok-next view syasokoban/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
parents bca48f3b8bb3
children 7506b35e1c6f
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="http://grayskygames.com/sokoban.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://grayskygames.com/sokoban/$TARBALL"
14 BUILD_DEPENDS="libsdl-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="libsdl gcc-lib-base glibc-base"
30 }