playonlinux: update to 4.2.10

This commit is contained in:
Diogo Leal 2016-02-28 20:23:33 -03:00
parent 0a3562adc9
commit 0dfb1bc9c5

View file

@ -1,6 +1,6 @@
# Template file for 'playonlinux' # Template file for 'playonlinux'
pkgname=playonlinux pkgname=playonlinux
version=4.2.9 version=4.2.10
revision=1 revision=1
noarch=yes noarch=yes
wrksrc="$pkgname" wrksrc="$pkgname"
@ -10,14 +10,14 @@ maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="GPL-3" license="GPL-3"
homepage="http://www.playonlinux.com" homepage="http://www.playonlinux.com"
distfiles="http://www.playonlinux.com/script_files/PlayOnLinux/${version/.0/}/PlayOnLinux_${version/.0/}.tar.gz" distfiles="http://www.playonlinux.com/script_files/PlayOnLinux/${version/.0/}/PlayOnLinux_${version/.0/}.tar.gz"
checksum=89bb0fd7cce8cf598ebf38cad716b8587eaca5b916d54386fb24b3ff66b48624 checksum=f524905912ae2b17c8544968a8554d635f8fc4cd3b220c0ae15c49d51f244973
do_install() { do_install() {
vmkdir usr/share/$pkgname vmkdir usr/share/$pkgname
vmkdir usr/bin vmkdir usr/bin
cp -r * $DESTDIR/usr/share/$pkgname cp -r * $DESTDIR/usr/share/$pkgname
echo "#!/bin/bash" > $DESTDIR/usr/bin/$pkgname echo "#!/bin/bash" > $DESTDIR/usr/bin/$pkgname
echo "/usr/share/$pkgname/$pkgname \"\$@\"" >> $DESTDIR/usr/bin/$pkgname echo "/usr/share/$pkgname/$pkgname \"\$@\"" >> $DESTDIR/usr/bin/$pkgname
chmod +x $DESTDIR/usr/bin/$pkgname chmod +x $DESTDIR/usr/bin/$pkgname