summaryrefslogtreecommitdiffstats
path: root/test/numptyphysics/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'test/numptyphysics/Pkgfile')
-rw-r--r--test/numptyphysics/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/test/numptyphysics/Pkgfile b/test/numptyphysics/Pkgfile
new file mode 100644
index 000000000..3ba110ba3
--- /dev/null
+++ b/test/numptyphysics/Pkgfile
@@ -0,0 +1,30 @@
+# Description: Un jeu de dessin/puzzle dans le style de Crayon Physics
+# URL: https://garage.maemo.org/projects/numptyphysics/
+# Packager: Blankoworld <blankoworld at wanadoo dot fr>
+# Depends on: subversion sdl_ttf
+
+name=numptyphysics
+version=115
+release=1
+realname=numptyphysics
+source=( $realname.desktop )
+
+build() {
+ cd $SRC
+
+ # Récupération du dépôt SVN
+ svn checkout https://garage.maemo.org/svn/numptyphysics/trunk/ --config-dir=$PKGMK_ROOT/svn_config/ -r $version $name-svn
+
+ cd $name-svn
+
+ # Compilation
+ aclocal
+ ./autogen.sh
+ ./configure --prefix=/usr
+ make
+ make DESTDIR=$PKG install
+
+ # Ajout d'un raccourci dans le menu
+ mkdir -p $PKG/usr/share/applications
+ install -m 644 ../$realname.desktop $PKG/usr/share/applications/
+}