summaryrefslogtreecommitdiffstats
path: root/extra/numptyphysics/Pkgfile
blob: f13221f6cc7266c2655f047a4ec5834fa0ab279c (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: svn cyrus-sasl sdl_ttf 

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/
}