summaryrefslogtreecommitdiffstats
path: root/extra/playonlinux/Pkgfile
diff options
context:
space:
mode:
authorThierry N <thierryn1 at hispeed dot ch>2009-08-28 12:10:43 +0200
committerThierry N <thierryn1 at hispeed dot ch>2009-08-28 12:10:43 +0200
commitc5b1e7fed0880afb791283dc7d0de31a03ca0402 (patch)
treefb0b9c83c1f01cb4083265a006803d26ded0e56a /extra/playonlinux/Pkgfile
parente3797688c3b5f1e15c2caa8320720e0b48a20ef6 (diff)
downloadnutyx-pakxe-c5b1e7fed0880afb791283dc7d0de31a03ca0402.tar.gz
nutyx-pakxe-c5b1e7fed0880afb791283dc7d0de31a03ca0402.tar.bz2
nutyx-pakxe-c5b1e7fed0880afb791283dc7d0de31a03ca0402.tar.xz
nutyx-pakxe-c5b1e7fed0880afb791283dc7d0de31a03ca0402.zip
Ajout de playonlinux#3.2.2-1
Diffstat (limited to 'extra/playonlinux/Pkgfile')
-rw-r--r--extra/playonlinux/Pkgfile30
1 files changed, 30 insertions, 0 deletions
diff --git a/extra/playonlinux/Pkgfile b/extra/playonlinux/Pkgfile
new file mode 100644
index 000000000..82d9943b4
--- /dev/null
+++ b/extra/playonlinux/Pkgfile
@@ -0,0 +1,30 @@
+# 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, xterm, gettext, 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
+
+}