summaryrefslogtreecommitdiffstats
path: root/test/numptyphysics/Pkgfile
blob: 3ba110ba319f05040d4cc2ae76bd2c27d5b71f0d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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/
}