Pastebin launched a little side project called HostCabi.net, check it out ;-)Don't like ads? PRO users don't see any ads ;-)
Guest

winff example PKGBUILD

By: Peaceseeker on Jan 4th, 2013  |  syntax: None  |  size: 1.57 KB  |  hits: 47  |  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: yugrotavele <yugrotavele at archlinux dot us>
  2. # Contributor: Paolo Stivanin <admin AT polslinux DOT it>
  3.  
  4. pkgname=winff
  5. pkgver=1.4.3
  6. pkgrel=1
  7. pkgdesc="GUI for ffmpeg"
  8. url="http://code.google.com/p/winff/"
  9. license=('GPL3')
  10. arch=('i686' 'x86_64')
  11. depends=('ffmpeg' 'gtk2' 'xterm')
  12. makedepends=('lazarus' 'lazarus-gtk2')
  13. source=(http://winff.googlecode.com/files/winff-$pkgver-source.tar.gz
  14.         winff.desktop)
  15. md5sums=('7a210214e3bd82bfb21c27b0ffe84afb'
  16.          '261ebc61e1fe076d9f78f4fdf66537bf')
  17.  
  18. build() {
  19.   cd $srcdir/$pkgname
  20.   lazbuild --lazarusdir=/usr/lib/lazarus winff.lpr --ws=gtk2
  21. }
  22.  
  23. package() {
  24.   cd ${srcdir}/
  25.   install -Dm 755 $srcdir/$pkgname/$pkgname $pkgdir/usr/bin/winff
  26.   install -dm 755 ${pkgdir}/usr/share/winff/
  27.   find . -name "*.xml" -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/ \; &> /dev/null
  28.   install -Dm 644 $srcdir/winff.desktop $pkgdir/usr/share/applications/winff.desktop
  29.   install -Dm 644 $srcdir/$pkgname/winff-icons/16x16/winff.png $pkgdir/usr/share/icons/hicolor/16x16/apps/winff.png
  30.   install -Dm 644 $srcdir/$pkgname/winff-icons/24x24/winff.png $pkgdir/usr/share/icons/hicolor/24x24/apps/winff.png
  31.   install -Dm 644 $srcdir/$pkgname/winff-icons/32x32/winff.png $pkgdir/usr/share/icons/hicolor/32x32/apps/winff.png
  32.   install -Dm 644 $srcdir/$pkgname/winff-icons/48x48/winff.png $pkgdir/usr/share/icons/hicolor/48x48/apps/winff.png
  33.   install -dm 755 ${pkgdir}/usr/share/winff/languages/
  34.   find . -name "*.po"  -exec install -Dm 644 {} ${pkgdir}/usr/share/winff/languages/ \; &> /dev/null
  35.   rm ${srcdir}/$pkgname/presets.xml
  36. }