updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / mmc-lin / PKGBUILD
blob1f5d0ad2d608848b71e0b0290a5ebcb46dd28566
1 pkgname=mmc-lin
2 pkgver=1.7.3
3 _pkgver=173
4 pkgrel=1
5 pkgdesc="Mobile Media Convertor"
6 url="http://www.miksoft.net/mobileMediaConverter.htm"
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 [ "$CARCH" = "i686" ] && depends=('glibc' 'gtk2' 'libstdc++5' 'expat' 'ffmpeg' 'opencore-amr' 'mencoder')
10 [ "$CARCH" = "x86_64" ] && depends=('lib32-glibc' 'lib32-gtk2' 'lib32-libstdc++5' 'lib32-expat' 'ffmpeg' 'opencore-amr' 'mencoder')
11 install=mmc-lin.install
12 source=(http://www.miksoft.net/products/mmc-older/$pkgname-$_pkgver.tar.gz mmc.png mmc.desktop)
13 md5sums=('44e9b10746e46424ec6ca895bda5102b'
14          '6c0b039085a07df66c445261bead1837'
15          '83b5ca50caf3225a4d7e6d6e9eb8c247')
17 build() {
18         mkdir -p $pkgdir/opt/MIKSOFT/MobileMediaConverter
19         cp -R $srcdir/$pkgname-$pkgver/* $pkgdir/opt/MIKSOFT/MobileMediaConverter
20         # icon and .desktop file
21         mkdir -p $pkgdir/usr/share/pixmaps/
22         mkdir -p $pkgdir/usr/share/applications/
23         install -D -m644 $srcdir/mmc.png $pkgdir/usr/share/pixmaps/
24         install -D -m644 $srcdir/mmc.desktop $pkgdir/usr/share/applications/