summaryrefslogtreecommitdiffstats
path: root/extra/numptyphysics/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'extra/numptyphysics/Pkgfile')
-rw-r--r--extra/numptyphysics/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/numptyphysics/Pkgfile b/extra/numptyphysics/Pkgfile
new file mode 100644
index 000000000..d37b93a32
--- /dev/null
+++ b/extra/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: svn cyrus-sasl sdl_ttf automake
+
+name=numptyphysics-svn
+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
+
+ cd $name
+
+ # 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/
+}