Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

FIxed? PKGBUILD for WInff

By: a guest on Dec 17th, 2010  |  syntax: Bash  |  size: 1.11 KB  |  hits: 85  |  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. #Maintainer: Arkham <arkham at archlinux dot us>
  2. # Contributor: yugrotavele,libervisco <yugrotavele@gmail.com>
  3. # Contributor: Tri Nguyen <tri170391@gmail.com>
  4.  
  5. pkgname=winff
  6. pkgver=1.3.1
  7. pkgrel=1
  8. pkgdesc="GUI for ffmpeg"
  9. url="http://www.winff.org"
  10. license=('GPL')
  11. arch=('i686' 'x86_64')
  12. depends=('ffmpeg' 'gtk2')
  13. _arch=i386
  14. [ "$CARCH" = "x86_64" ] && _arch=amd64
  15. source=(http://ppa.launchpad.net/paul-climbing/ppa/ubuntu/pool/main/w/$pkgname/${pkgname}_$pkgver-$pkgrel~ppa1k_${_arch}.deb)
  16. #md5sums=('d15254309296279fecc753b9b8c58851')
  17. #md5sums=('b91e3123ef75f9ec499084d12a8de4c0')
  18. [ "$CARCH" = "x86_64" ] && md5sums=('b91e3123ef75f9ec499084d12a8de4c0')
  19.  
  20. build() {
  21.         ar vx  ${pkgname}_$pkgver-$pkgrel~ppa1k_${_arch}.deb
  22.         tar xvzf data.tar.gz
  23.         install -Dm 755 $srcdir/usr/bin/winff $pkgdir/usr/bin/winff
  24.         install -Dm 755 $srcdir/usr/share/winff/presets.xml $pkgdir/usr/share/winff/presets.xml
  25.         install -Dm 755 $srcdir/usr/share/applications/winff.desktop \
  26.         $pkgdir/usr/share/applications/winff.desktop
  27.         install -Dm 755 $srcdir/usr/share/icons/hicolor/32x32/apps/winff.png \
  28.         $pkgdir/usr/share/pixmaps/winff.png
  29.         }