void-packages/srcpkgs/playonlinux/template
Helmut Pozimski 6173ed5988 playonlinux: update to 4.2.12
Closes: #6848 [via git-merge-pr]
2017-06-26 14:33:05 +00:00

28 lines
1 KiB
Bash

# Template file for 'playonlinux'
pkgname=playonlinux
version=4.2.12
revision=1
noarch=yes
wrksrc="$pkgname"
depends="icoutils netcat ImageMagick xterm wxPython cabextract unzip glxinfo
gnupg xdg-user-dirs libXmu wget p7zip curl"
short_desc="GUI for managing Windows programs under linux"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3"
homepage="http://www.playonlinux.com"
distfiles="http://www.playonlinux.com/script_files/PlayOnLinux/${version/.0/}/PlayOnLinux_${version/.0/}.tar.gz"
checksum=38cbdc85cca83b72ed0e54ee3a768f939fefe29d3670fc5d76b0303b5bda680e
[ "${CROSS_BUILD}" ] && broken="Dependency wxPython can't be cross compiled"
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
}