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

Untitled

By: a guest on Sep 20th, 2012  |  syntax: Bash  |  size: 1.51 KB  |  views: 38  |  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: Murtuza Akhtari <inxsible at gmail dot com>
  2.  
  3. pkgname=mobilemediaconverter
  4. pkgver=1.7.4
  5. pkgrel=1
  6. pkgdesc="Converts mp3, wma, ogg, wav audio files to AMR files and vice-versa. Converts wmv, mpeg, wmv, avi, flv video files to 3GP and vice-versa."
  7. arch=('i686' 'x86_64')
  8. url="http://www.miksoft.net/mobileMediaConverter.htm"
  9. license=('GPL')
  10. source=(http://www.miksoft.net/products/mmc-older/mmc-lin-174.tar.gz
  11.     $pkgname.desktop
  12.     $pkgname.png
  13.     $pkgname.sh)
  14.  
  15. md5sums=('59d787c710f155f04ae0ba14edfad2a9'
  16.          '9864d1ffc3c368aa57429d66e6f8c537'
  17.          '9d4309f98f3689dfc21e641e5773cfd7'
  18.          '4763cf3c0a5272d057ddf4a96d13bb33')
  19.  
  20. if [ "${CARCH}" = 'x86_64' ]; then
  21.     ARCH='amd64'
  22.     depends=('lib32-zlib' 'lib32-gtk2>=2.22' 'lib32-gcc-libs>=4.5.1' 'lib32-glibc>=2.12' 'lib32-libstdc++5>=3.3.0')
  23. else
  24.     ARCH='i386'
  25.     depends=('zlib' 'gtk2>=2.22' 'gcc-libs>=4.5.1' 'glibc>=2.12' 'libstdc++5>=3.3.0')
  26. fi
  27.  
  28. build() {
  29.     mkdir -p "$pkgdir/usr/share/$pkgname/lib"
  30.     cp -r "$srcdir/lib/icons/" "$pkgdir/usr/share/$pkgname/lib"
  31.     cp -r "$srcdir/lib/mmc Libs/" "$pkgdir/usr/share/$pkgname/lib"
  32.     cp -r "$srcdir/lib/profiles/" "$pkgdir/usr/share/$pkgname/lib"
  33.     install -Dm755 "$srcdir/lib/mmc" "$pkgdir/usr/share/$pkgname/lib/mmc"
  34.     install -Dm644 "$srcdir/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop"
  35.     install -Dm644 "$srcdir/$pkgname.png" "$pkgdir/usr/share/pixmaps/$pkgname.png"
  36.     install -Dm755 "$srcdir/$pkgname.sh" "$pkgdir/usr/bin/$pkgname"
  37. }
clone this paste RAW Paste Data