summaryrefslogtreecommitdiff
path: root/community/mediainfo-gui/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/mediainfo-gui/PKGBUILD')
-rw-r--r--community/mediainfo-gui/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/community/mediainfo-gui/PKGBUILD b/community/mediainfo-gui/PKGBUILD
new file mode 100644
index 000000000..cf721eebe
--- /dev/null
+++ b/community/mediainfo-gui/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 90926 2013-05-15 13:47:03Z spupykin $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Maintainer: hydro <hydro@freenet.de>
+
+pkgname=mediainfo-gui
+pkgver=0.7.63
+pkgrel=1
+pkgdesc="GUI for mediainfo"
+arch=('i686' 'x86_64')
+url="http://mediainfo.sourceforge.net"
+license=('GPL')
+depends=('libmediainfo' 'wxgtk')
+makedepends=('libtool' 'automake' 'autoconf')
+install=mediainfo-gui.install
+source=(http://downloads.sourceforge.net/mediainfo/mediainfo_${pkgver}.tar.bz2)
+md5sums=('bd794e4066b6bb197af23cb7b8ba832b')
+
+build() {
+ cd $srcdir/MediaInfo/Project/GNU/GUI
+ sh ./autogen
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd $srcdir/MediaInfo/Project/GNU/GUI
+ make DESTDIR=$pkgdir install
+ install -D -m 644 $srcdir/MediaInfo/Source/Resource/Image/MediaInfo.png \
+ $pkgdir/usr/share/icons/hicolor/128x128/apps/mediainfo.png
+ install -D -m 644 $srcdir/MediaInfo/Source/Resource/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
+}