wok-next view p4wn/receipt @ rev 16655

poppler-qt4: fix typo
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue May 13 23:52:18 2014 +0300 (2014-05-13)
parents ff54c8e52d6b
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="p4wn"
4 VERSION="1.0"
5 CATEGORY="games"
6 SHORT_DESC="Chess game in javascript"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain"
9 WEB_SITE="http://p4wn.sourceforge.net/"
10 TARBALL="sven_vehars_fancy_version.zip"
11 WGET_URL="$WEB_SITE/downloads/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 sed -i '/background-image/d' *.css
17 sed -i 's|title>.*</title|title>Chess</title|' index.html
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/var/www/p4wn $fs/usr/share/applications \
24 $fs/usr/share/pixmaps
25 cp $src/* $fs/var/www/p4wn
26 rm -f $fs/var/www/p4wn/README $fs/var/www/p4wn/*background.png
27 chown -R 80.80 $fs/var/www/p4wn
28 cat > $fs/usr/share/applications/p4wn.desktop <<EOT
29 [Desktop Entry]
30 Type=Application
31 Name=p4wn (Chess)
32 Exec=browser file:///var/www/p4wn/index.html
33 Icon=p4wn
34 Terminal=false
35 Categories=Game;
36 Comment=Chess game
37 EOT
38 }