Merge pull request #3718 from diogoleal/update_playonlinux

playonlinux: update to 4.2.10
This commit is contained in:
Juan RP 2016-02-29 08:57:16 +01:00
commit 3df8e3975e

View file

@ -1,6 +1,6 @@
# Template file for 'playonlinux'
pkgname=playonlinux
version=4.2.9
version=4.2.10
revision=1
noarch=yes
wrksrc="$pkgname"
@ -10,14 +10,14 @@ 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=89bb0fd7cce8cf598ebf38cad716b8587eaca5b916d54386fb24b3ff66b48624
checksum=f524905912ae2b17c8544968a8554d635f8fc4cd3b220c0ae15c49d51f244973
do_install() {
vmkdir usr/share/$pkgname
vmkdir usr/bin
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
chmod +x $DESTDIR/usr/bin/$pkgname