summaryrefslogtreecommitdiffstats
path: root/extra/playonlinux/Pkgfile
blob: 142555e382f5e191a4d9b2b2bc66e9a10d61d0c0 (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
31
32
# Description: Permet d'installer des programmes windows sous NuTyX
# URL: http://www.playonlinux.com/
# Maintainer: NuTyX core team
# Packager: thierryn1 at hispeed dot ch
# Depends on: wxpython, cabextract, xorg-xterm, lzma, wine
# Run on: wxpython,cabextract,xorg-xterm,lzma,wine

name=playonlinux
version=3.2.2
release=1
source=(http://www.playonlinux.com/script_files/PlayOnLinux/$version/PlayOnLinux_${version}.tar.gz)

build() {
    
		#make directories
    mkdir -p $PKG/usr/share/playonlinux
    mkdir -p $PKG/usr/bin
    
    #copy files
    cp -r playonlinux/* $PKG/usr/share/playonlinux
    
    #launcher script for playonlinux
    cat > $PKG/usr/bin/playonlinux<<EndScript
#! /bin/sh
/usr/share/playonlinux/playonlinux "\$@"
exit \$?
EndScript

    chmod +x $PKG/usr/bin/playonlinux

}