git » kio-extras.git » commit 96dbf57

Fix dir mime type on fish

author Antonio Rojas
2022-04-27 18:59:29 UTC
committer Antonio Rojas
2022-04-27 18:59:29 UTC
parent 35058ac0eae2bf2f84429887f022552b0d705830

Fix dir mime type on fish

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index f2463ac..a596219 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=kio-extras
 pkgver=22.04.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Additional components to increase the functionality of KIO'
 arch=(x86_64)
 url='https://www.kde.org/'
@@ -16,14 +16,20 @@ optdepends=('qt5-imageformats: thumbnails for additional image formats' 'perl: i
             'libappimage: AppImage thumbnails' 'icoutils: Windows executable thumbnails'
             'openexr: EXR format thumbnails' 'kactivities-stats: recently used kioslave')
 groups=(kde-applications kde-network)
-source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig})
+source=(https://download.kde.org/stable/release-service/$pkgver/src/$pkgname-$pkgver.tar.xz{,.sig}
+        https://invent.kde.org/network/kio-extras/-/commit/afe11f24.patch)
 sha256sums=('e6789828e2fb1a38b7633ad1de8ce9ae9296ebee5cfe12f09e8989c06b8472c6'
-            'SKIP')
+            'SKIP'
+            '8de7ec1e47d852bacd41e4412aacbe539328e004eaa3f74351adc5aa4ee3e131')
 validpgpkeys=(CA262C6C83DE4D2FB28A332A3A6A4DB839EAA6D7  # Albert Astals Cid <aacid@kde.org>
               F23275E4BF10AFC1DF6914A6DBD2CE893E2D1C87  # Christoph Feck <cfeck@kde.org>
               D81C0CB38EB725EF6691C385BB463350D6EF31EF) # Heiko Becker <heiko.becker@kde.org>
 options=(debug)
 
+prepare() {
+  patch -d $pkgname-$pkgver -p1 < afe11f24.patch # Fix dir mime type on fish
+}
+
 build() {
   cmake -B build -S $pkgname-$pkgver \
     -DLIBAPPIMAGE_LIBRARIES=libappimage.so \