git » ark.git » commit 2fad11a

Fix opening rar files with unrar (FS#47463)

author Antonio Rojas
2015-12-23 17:16:19 UTC
committer Antonio Rojas
2015-12-23 17:16:19 UTC
parent 3cf3b13b1f32bc855622ee0003d859742ff9ae4e

Fix opening rar files with unrar (FS#47463)

PKGBUILD +9 -3

diff --git a/PKGBUILD b/PKGBUILD
index 3f13871..2aae4c0 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,7 +4,7 @@
 
 pkgname=ark
 pkgver=15.12.0
-pkgrel=1
+pkgrel=2
 pkgdesc='Archiving Tool'
 arch=(i686 x86_64)
 url='http://kde.org/applications/utilities/ark/'
@@ -16,11 +16,17 @@ conflicts=(kdeutils-ark)
 replaces=(kdeutils-ark)
 groups=(kde-applications kdeutils)
 install=$pkgname.install
-source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz")
-md5sums=('2fe131a931d51603eff33b80d45a73b7')
+source=("http://download.kde.org/stable/applications/$pkgver/src/$pkgname-$pkgver.tar.xz"
+	bug357057.patch::"https://quickgit.kde.org/?p=ark.git&a=commitdiff&h=087e5a&o=plain")
+md5sums=('2fe131a931d51603eff33b80d45a73b7'
+         '4a3ae6fb4f3cce9a49f7b89812e547b3')
 
 prepare() {
   mkdir -p build
+
+# Fix opening rar files if unrar is installed but rar isn't http://bugs.kde.org/show_bug.cgi?id=357057
+  cd $pkgname-$pkgver
+  patch -p1 -i ../bug357057.patch
 }
 
 build() {