Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=76b824a5152aca4a4e15e21da727cbdc4143e602
commit 76b824a5152aca4a4e15e21da727cbdc4143e602 Author: Cedynamix <cedyna...@gmail.com> Date: Sun Jun 7 23:38:10 2009 +0200 phun-5.28-1-i686 * new package diff --git a/source/games-extra/phun/FrugalBuild b/source/games-extra/phun/FrugalBuild new file mode 100644 index 0000000..f09ad62 --- /dev/null +++ b/source/games-extra/phun/FrugalBuild @@ -0,0 +1,38 @@ +# Compiling Time: 0.01 SBU +# Maintainer: Cedrick Hannier alias Cedynamix <cedyna...@gmail.com> + +pkgname=phun +pkgver=5.28 +extraver=_beta_ +pkgrel=1 +pkgdesc="Phun is a free game like 2D physics sandbox" +archs=('i686' 'x86_64') +groups=('games-extra') +depends=('sdlimage') +options=('nobuild') +url="http://www.phunland.com" +_F_archive_name="Phun" +if [ "$CARCH" == "i686" ]; then + _arch=linux32 +else + _arch=linux64 +fi +up2date="Flasttgz $url/download/ | sed 's/.*beta_//; s/_/\./g; s/\.linux[32-64]*//'" +Fpkgversep="_" +source=($pkgname.desktop $url/download/$_F_archive_name$extraver${pkgver//./_}_$_arch.tgz) +sha1sums=('90615a74417a6fb7e6fc48c94784a4db2b440957') +if [ "$CARCH" == "i686" ]; then + sha1sums=(${sha1su...@]} '5606d86e24c031e9616b27d8a95e731004f44c8d') +elif [ "$CARCH" == "x86_64" ]; then + sha1sums=(${sha1su...@]} '4313a94f436c40a5fefc02361c4389b9415669ed') +fi +_F_desktop_name="Phun" +_F_desktop_icon="/usr/share/Phun/data/textures/logos/icon.bmp" +_F_desktop_categories="Application;Game;" + +build() { + Fmkdir usr/share + Fcp Phun usr/share + Fwrapper "cd /usr/share/Phun/ && ./phun" $pkgname + Fdesktop2 +} _______________________________________________ Frugalware-git mailing list Frugalware-git@frugalware.org http://frugalware.org/mailman/listinfo/frugalware-git