Browse Source

Update kde-servicemenus-mediainfo

master
Pekka Helenius 5 years ago
parent
commit
19ae9f8bf6
1 changed files with 8 additions and 6 deletions
  1. +8
    -6
      kde-servicemenus-mediainfo/PKGBUILD

+ 8
- 6
kde-servicemenus-mediainfo/PKGBUILD View File

@ -1,3 +1,5 @@
# Maintainer: Pekka Helenius <fincer89 [at] hotmail [dot] com>
pkgname=kde-servicemenus-mediainfo pkgname=kde-servicemenus-mediainfo
pkgver=1 pkgver=1
pkgrel=1 pkgrel=1
@ -6,21 +8,21 @@ arch=('any')
url="https://store.kde.org/p/998430" url="https://store.kde.org/p/998430"
license=('GPL') license=('GPL')
depends=('ffmpeg' 'dolphin' 'kdialog') depends=('ffmpeg' 'dolphin' 'kdialog')
source=(https://dl.opendesktop.org/api/files/download/id/1460731765/107335-AudioVideoinfo-qt.desktop
program-cleanup.patch)
source=(
https://dl.opendesktop.org/api/files/download/id/1460731765/107335-AudioVideoinfo-qt.desktop
program-cleanup.patch
)
md5sums=('bf395c70ce7a6f69352ce21ab6cd168e' md5sums=('bf395c70ce7a6f69352ce21ab6cd168e'
'10c6e8c32362917b96e57247219af126') '10c6e8c32362917b96e57247219af126')
prepare()
{
prepare() {
mkdir -p $srcdir/$pkgname mkdir -p $srcdir/$pkgname
cp $srcdir/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname cp $srcdir/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname
cd $srcdir/$pkgname cd $srcdir/$pkgname
patch -Np1 -i "$srcdir/program-cleanup.patch" patch -Np1 -i "$srcdir/program-cleanup.patch"
} }
package()
{
package() {
mv $srcdir/$pkgname/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname/mediainfo-qt.desktop mv $srcdir/$pkgname/107335-AudioVideoinfo-qt.desktop $srcdir/$pkgname/mediainfo-qt.desktop
mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/ mkdir -p $pkgdir/usr/share/kservices5/ServiceMenus/
install -m 644 $srcdir/$pkgname/*.desktop $pkgdir/usr/share/kservices5/ServiceMenus/ install -m 644 $srcdir/$pkgname/*.desktop $pkgdir/usr/share/kservices5/ServiceMenus/


Loading…
Cancel
Save