2015-08-17 20:38:15 +02:00
|
|
|
# Template file for 'playonlinux'
|
|
|
|
pkgname=playonlinux
|
2015-10-19 14:23:40 +02:00
|
|
|
version=4.2.9
|
|
|
|
revision=1
|
2015-08-17 20:38:15 +02:00
|
|
|
noarch=yes
|
|
|
|
wrksrc="$pkgname"
|
2015-08-18 05:38:07 +02:00
|
|
|
depends="icoutils netcat ImageMagick xterm wxPython cabextract unzip glxinfo gnupg xdg-user-dirs libXmu wget p7zip"
|
2015-08-17 20:38:15 +02:00
|
|
|
short_desc="GUI for managing Windows programs under linux"
|
|
|
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
|
|
|
license="GPL-3"
|
2015-10-19 14:23:40 +02:00
|
|
|
homepage="http://www.playonlinux.com"
|
2015-08-17 20:38:15 +02:00
|
|
|
distfiles="http://www.playonlinux.com/script_files/PlayOnLinux/${version/.0/}/PlayOnLinux_${version/.0/}.tar.gz"
|
2015-10-19 14:23:40 +02:00
|
|
|
checksum=89bb0fd7cce8cf598ebf38cad716b8587eaca5b916d54386fb24b3ff66b48624
|
2015-08-17 20:38:15 +02:00
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/share/$pkgname
|
|
|
|
vmkdir usr/bin
|
|
|
|
cp -r * $DESTDIR/usr/share/$pkgname
|
|
|
|
|
|
|
|
echo "#!/bin/bash" > $DESTDIR/usr/bin/$pkgname
|
|
|
|
echo "/usr/share/$pkgname/$pkgname \"\$@\"" >> $DESTDIR/usr/bin/$pkgname
|
|
|
|
chmod +x $DESTDIR/usr/bin/$pkgname
|
|
|
|
|
|
|
|
vinstall etc/PlayOnLinux.desktop 644 usr/share/applications playonlinux.desktop
|
|
|
|
sed -i "s/ %F//g" $DESTDIR/usr/share/applications/playonlinux.desktop
|
|
|
|
}
|