summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorTioDuke2015-11-25 18:32:22 -0500
committerTioDuke2015-11-25 18:32:22 -0500
commit0915dc252e9e26c40ec532d8fb97c77e7ab145dd (patch)
tree00799a3fcac972629ca19b9851d9381ca05f2d84
downloadaur-0915dc252e9e26c40ec532d8fb97c77e7ab145dd.tar.gz
Add kde-servicemenus-getmediainfo
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD23
2 files changed, 38 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..e37672852cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,15 @@
+pkgbase = kde-servicemenus-getmediainfo
+ pkgdesc = Simple service menu that show the mediainfo about the selected media.
+ pkgver = 0.6
+ pkgrel = 1
+ url = http://kde-apps.org/content/show.php?action=content&content=141946
+ arch = any
+ license = GPL
+ depends = kdebase-dolphin
+ depends = kdebase-kdialog
+ depends = mediainfo
+ source = http://kde-apps.org/CONTENT/content-files/141946-MediaInfoKDE.desktop
+ md5sums = 8a14b856b510378a2dcf8bc4d2eec0c8
+
+pkgname = kde-servicemenus-getmediainfo
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..a684784a8a6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,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
+}