New package: playonlinux-4.2.8
This commit is contained in:
parent
7c0f1680bc
commit
ea636b9a34
|
@ -0,0 +1,26 @@
|
||||||
|
# Template file for 'playonlinux'
|
||||||
|
pkgname=playonlinux
|
||||||
|
version=4.2.8
|
||||||
|
revision=1
|
||||||
|
noarch=yes
|
||||||
|
wrksrc="$pkgname"
|
||||||
|
depends="netcat ImageMagick xterm wxPython cabextract unzip glxinfo gnupg xdg-user-dirs libXmu wget p7zip"
|
||||||
|
short_desc="GUI for managing Windows programs under linux"
|
||||||
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
|
license="GPL-3"
|
||||||
|
homepage="http://www.gnu.org/software/sed"
|
||||||
|
distfiles="http://www.playonlinux.com/script_files/PlayOnLinux/${version/.0/}/PlayOnLinux_${version/.0/}.tar.gz"
|
||||||
|
checksum=2ae8d5132706f3c697d0a53573c5835938dd042b620eb76790181b285797985c
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Reference in New Issue