summaryrefslogtreecommitdiff
path: root/libre/kdeutils-ark-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/kdeutils-ark-libre/PKGBUILD')
-rw-r--r--libre/kdeutils-ark-libre/PKGBUILD9
1 files changed, 6 insertions, 3 deletions
diff --git a/libre/kdeutils-ark-libre/PKGBUILD b/libre/kdeutils-ark-libre/PKGBUILD
index e587f4c42..db8dfb0ce 100644
--- a/libre/kdeutils-ark-libre/PKGBUILD
+++ b/libre/kdeutils-ark-libre/PKGBUILD
@@ -13,16 +13,19 @@ license=('GPL' 'LGPL' 'FDL')
groups=('kde' 'kdeutils')
depends=('kdebase-runtime' 'kdebase-lib' 'libarchive' 'qjson')
makedepends=('cmake' 'automoc4')
-optdepends=('p7zip' 'zip' 'unzip' 'ununrar')
+optdepends=('p7zip' 'zip' 'unzip' 'unar')
install=${_pkgname}.install
provides=("kdeutils-ark=$pkgver")
replaces=('kdeutils-ark')
conflicts=('kdeutils-ark')
-source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz")
-sha1sums=('71018a85d489af1e119d2454d9b4e3166f63455c')
+source=("http://download.kde.org/stable/${pkgver}/src/ark-${pkgver}.tar.xz"
+ 'ark-unar-06.patch')
+sha1sums=('71018a85d489af1e119d2454d9b4e3166f63455c'
+ 'a0a836950f185d9b2245204579f969203036fdec')
build() {
cd "${srcdir}"
+ patch -Np1 -i "${srcdir}/ark-unar-06.patch" # This patch will allow Ark to use The Unarchiver command line utilities (unar/lsar) to operate on RAR files, particularly RARv3.
mkdir build
cd build
cmake ../ark-${pkgver} \