Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

playonlinux-4.1.6/PKGBUILD

By: khampf on Aug 5th, 2012  |  syntax: Bash  |  size: 1.25 KB  |  views: 113  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Contributor: Skunnyk <skunnyk@archlinux.fr>
  2. pkgname=playonlinux
  3. pkgver=4.1.6
  4. pkgrel=1
  5. pkgdesc="GUI for managing Windows and DOS programs under linux"
  6. url="http://www.playonlinux.com/"
  7. license="GPL"
  8. depends=('wine' 'imagemagick' 'xterm' 'wxpython' 'cabextract' 'unzip' 'mesa-demos' 'gnupg' 'icoutils' 'xdg-user-dirs' 'libxmu' 'gnu-netcat')
  9. arch=('any')
  10. source=(http://www.playonlinux.com/script_files/PlayOnLinux/$pkgver/PlayOnLinux_$pkgver.tar.gz PlayOnLinux.desktop use-python2.patch)
  11. options=(!strip)
  12. build() {
  13.   cd "$srcdir/$pkgname"
  14. #  rm bin/amd64.darwin.check bin/x86.darwin.check
  15.   patch -p1 < ../use-python2.patch
  16.   install -d $pkgdir/usr/share/$pkgname
  17.   install -d $pkgdir/usr/bin
  18. }
  19. package(){
  20.   cp -r $srcdir/$pkgname/ $pkgdir/usr/share/
  21.   echo "#!/bin/bash" > $pkgdir/usr/bin/$pkgname
  22.   echo "/usr/share/$pkgname/$pkgname \"\$@\"" >> $pkgdir/usr/bin/$pkgname
  23.   chmod +x  $pkgdir/usr/bin/$pkgname
  24.   install -D -m644 $srcdir/$pkgname/etc/playonlinux32.png $pkgdir/usr/share/pixmaps/playonlinux32.png
  25.   install -D -m644 $srcdir/PlayOnLinux.desktop $pkgdir/usr/share/applications/playonlinux.desktop
  26.  
  27. }
  28. md5sums=('32845234b9bd52a528561592d93bcc74'
  29.          'c35b61fb168c4ef7740ad113996ea359'
  30.          '1b8aabe7f7cb3470e53a79ed489ec840')
clone this paste RAW Paste Data