This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

MadCatMk2

By: a guest on Sep 4th, 2010  |  syntax: Bash  |  size: 1.46 KB  |  views: 147  |  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: t3ddy  <t3ddy1988 "at" gmail {dot} com>
  2. # Contributor: moostik <mooostik_at_gmail.com>
  3.  
  4. pkgname=2mandvd
  5. pkgver=1.3.5
  6. pkgrel=1
  7. pkgdesc="DVD Authoring Maker In Linux Environnement"
  8. url="http://2mandvd.tuxfamily.org/"
  9. license=('GPL')
  10. arch=('i686' 'x86_64')
  11. install=2mandvd.install
  12. depends=('qt>=4.6' 'sox' 'mplayer' 'perl' 'netpbm' 'transcode' 'ffmpegthumbnailer' 'dvdauthor' 'mjpegtools' 'ttf-dejavu' 'dvd+rw-tools')
  13. optdepends=('xine-ui: to preview the result')
  14. source=(http://download.tuxfamily.org/2mandvd/2ManDVD-${pkgver}.tar.gz
  15.         2mandvd.desktop
  16.         2mandvd.sh)
  17. md5sums=('864cd202972e233383ecbdb0d9a08a71'
  18.          '1eaaeef9a5e7896482d51d489b781689'
  19.          '0112971f170034aff6efaafb9508b010')
  20.  
  21. build() {
  22.   cd $srcdir/2ManDVD
  23.   qmake 2ManDVD.pro
  24.   make || return 1
  25.  
  26.   install -d -m755 $pkgdir/opt/2ManDVD $pkgdir/usr/bin
  27.   cp -R Bibliotheque Interface 2ManDVD fake.pl *.qm README.txt $pkgdir/opt/2ManDVD/
  28.   install -D -m755 $srcdir/2mandvd.sh $pkgdir/usr/bin/2ManDVD
  29.  
  30.   # Fixing some right problems
  31.   cd $pkgdir/opt/2ManDVD
  32.   find . -type f -print0 | xargs -0 -n1 chmod 644
  33.   #find . -type d -print0 | xargs -0 -n1 chmod 755
  34.   chmod 755 Bibliotheque Interface
  35.   chmod +x 2ManDVD
  36.   cd $pkgdir/opt/2ManDVD/Bibliotheque
  37.   chmod 777 *
  38.  
  39.   # Creating menu item
  40.   install -D -m644 $srcdir/2ManDVD/Interface/mandvd.png $pkgdir/usr/share/pixmaps/2mandvd.png
  41.   install -D -m644 $srcdir/2mandvd.desktop $pkgdir/usr/share/applications/2mandvd.desktop
  42. }
clone this paste RAW Paste Data