Le 10/04/2011 08:50, Devil505 a écrit : > 2011/4/6 Sebastien VINCENT <[email protected]>: >> Le 06/04/2011 10:52, Miklos Vajna a écrit : >> >> On Wed, Apr 06, 2011 at 09:05:20AM +0200, Sebastien VINCENT >> <[email protected]> wrote: >> >> I created these files in the install because if you put them in the >> build, each upgrade will reset the score files blank when the goal is to >> keep the scores of the game. >> >> Can't you use backup() for that purpose? (See man FrugalBuild) >> >> Thanks. >> >> _______________________________________________ >> Frugalware-devel mailing list >> [email protected] >> http://frugalware.org/mailman/listinfo/frugalware-devel >> >> Yes the function backup() works fine. >> >> I rewrite the FrugalBuild >> >> Sébastien VINCENT Aka Baste >> > Looks fine now, please provide a git patch. > > > Hi , the git patch for gweled.
>From 185188bcec33b420242454c47f831b6e74d0beca Mon Sep 17 00:00:00 2001 From: Baste <[email protected]> Date: Mon, 11 Apr 2011 11:40:50 +0200 Subject: [PATCH] gweled-0.9.1-1-i686 * new package --- source/games-extra/gweled/FrugalBuild | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) create mode 100644 source/games-extra/gweled/FrugalBuild diff --git a/source/games-extra/gweled/FrugalBuild b/source/games-extra/gweled/FrugalBuild new file mode 100644 index 0000000..4747b2b --- /dev/null +++ b/source/games-extra/gweled/FrugalBuild @@ -0,0 +1,21 @@ +# Compiling Time: 0.02 SBU +# Maintainer: Baste <[email protected]> +# Contributor : Baste <[email protected]> + + +pkgname=gweled +pkgver=0.9.1 +pkgrel=1 +pkgdesc="A puzzle game similar to Bejeweled or Diamond Mine" +depends=('librsvg' 'libmikmod' 'gtk+2') +makedepends=('intltool') +groups=('games-extra') +archs=('i686' 'x86_64') +sha1sums=('ff4a59935c9e1eb4a202e723baabaab39f526714') + +_F_gnome_iconcache="y" +Finclude launchpad gnome-scriptlet +Fconfopts="$Fconfopts --with-scores-group=users --with-scores-user=root" +backup=(var/games/{gweled.Normal.scores,gweled.Timed.scores}) + +# optimization OK -- 1.7.4.4
_______________________________________________ Frugalware-devel mailing list [email protected] http://frugalware.org/mailman/listinfo/frugalware-devel
