summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a684784a8a6dc88ef9e7830e6dc6d72b0aee221c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# Mantainer: Sergio Tridente <tioduke (at) gmail (dot) com>
# Contributor: Artem A. Klevtsov <unikum.pm@gmail.com>

pkgname=kde-servicemenus-getmediainfo
pkgver=0.6
pkgrel=1
pkgdesc="Simple service menu that show the mediainfo about the selected media."
arch=('any')
url="http://kde-apps.org/content/show.php?action=content&content=141946"
license=('GPL')
depends=('kdebase-dolphin' 'kdebase-kdialog' 'mediainfo')
source=(http://kde-apps.org/CONTENT/content-files/141946-MediaInfoKDE.desktop)
md5sums=('8a14b856b510378a2dcf8bc4d2eec0c8')

prepare()
{
  sed -e 's|video/\.\*,audio/\.\*|video/*,audio/*|g' -i ${srcdir}/*-MediaInfoKDE.desktop
}

package() {
  install -Dm644 ${srcdir}/*-MediaInfoKDE.desktop ${pkgdir}/usr/share/kservices5/ServiceMenus/getmediainfo.desktop
  install -Dm644 ${srcdir}/*-MediaInfoKDE.desktop ${pkgdir}/usr/share/kde4/services/ServiceMenus/getmediainfo.desktop
}