summaryrefslogtreecommitdiff
path: root/community/mediainfo-gui/PKGBUILD
blob: 0399fb42c4847d130f2cabfaf3165a1100c58075 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# $Id: PKGBUILD 45015 2011-04-14 09:11:31Z spupykin $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Maintainer: hydro <hydro@freenet.de>

pkgname=mediainfo-gui
pkgver=0.7.43
pkgrel=1
pkgdesc="GUI for mediainfo"
arch=('i686' 'x86_64' 'mips64el')
url="http://mediainfo.sourceforge.net"
license=('GPL')
depends=('libmediainfo>=0.7.35' 'wxgtk')
makedepends=('libtool' 'automake' 'autoconf')
install=mediainfo-gui.install
source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2)
md5sums=('a1c61fb1385e22dc762dad33b7f37681')

build() {
  cd $srcdir/MediaInfo/Project/GNU/GUI
  sh ./autogen
  ./configure --prefix=/usr
  make
  make DESTDIR=$pkgdir install
  install -D -m 644 $srcdir/MediaInfo/Source/Ressource/Image/MediaInfo.png \
                    $pkgdir/usr/share/icons/hicolor/128x128/apps/mediainfo.png
  install -D -m 644 $srcdir/MediaInfo/Source/Ressource/Image/MediaInfo.png \
                    $pkgdir/usr/share/pixmaps/mediainfo-gui.png
  install -D -m 644 $srcdir/MediaInfo/Project/GNU/GUI/mediainfo-gui.desktop \
                    $pkgdir/usr/share/applications/mediainfo-gui.desktop

}