Want more features on Pastebin? Sign Up, it's FREE!
Guest

mmc

By: a guest on Oct 6th, 2010  |  syntax: Bash  |  size: 1.33 KB  |  views: 254  |  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: Murtuza Akhtari <inxsible at gmail dot com>
  2. # Contributor: Tinchou <martingonzalezcoll at gmail dot com>
  3.  
  4. pkgname=mobilemediaconverter
  5. pkgver=1.7.0
  6. pkgrel=1
  7. pkgdesc="The Mobile Media Converter converts mp3, wma, ogg, wav audio files to AMR files and vice-versa. Also, it can convert your wmv, mpeg, wmv, avi, flv video files to 3GP and vice-versa."
  8. arch=('i686' 'x86_64')
  9. url="http://www.miksoft.net/mobileMediaConverter.htm"
  10. license=('GPL')
  11. depends=('zlib' 'gtk2>=2.13' 'glibc>=2.4' 'libstdc++5>=3.3.0')
  12. [ "$CARCH" = "x86_64" ] && depends=('lib32-zlib' 'lib32-gtk2>=2.13' 'lib32-glibc>=2.4' 'lib32-libstdc++5>=3.3.0')
  13.  
  14. source=(http://www.miksoft.net/products/mmc_${pkgver}_i386.deb
  15.         $pkgname.sh)
  16.  
  17. md5sums=('d764c24dbae5e4dcd1e999a776b70228'
  18.          'a9138d318b3f6291b1d23886e9b1e8b6')
  19.  
  20. build() {
  21.         ar vx  mmc_${pkgver}_i386.deb
  22.         tar xvzf data.tar.gz
  23.         cd $srcdir
  24.         install -Dm 755 opt/MIKSOFT/MobileMediaConverter/MobileMediaConverter $pkgdir/opt/MIKSOFT/MobileMediaConverter/MobileMediaConverter
  25.         cp -r opt/MIKSOFT/MobileMediaConverter/lib $pkgdir/opt/MIKSOFT/MobileMediaConverter/lib
  26.         install -Dm 755 usr/share/applications/mmc.desktop $pkgdir/usr/share/applications/mmc.desktop
  27.         install -Dm 755 usr/share/pixmaps/mmc.png $pkgdir/usr/share/pixmaps/mmc.png
  28.         install -Dm 755 $srcdir/$pkgname.sh $pkgdir/usr/bin/$pkgname
  29. }
clone this paste RAW Paste Data