summaryrefslogtreecommitdiff
path: root/libre/kdeutils-ark-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-05 15:58:06 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-01-05 15:58:06 -0200
commit8f78c64bac1a05a9cb7babecf21dac46064ac18d (patch)
treec3ee8c1e6a44ca5a3eb628c914a1c4ee73790a9d /libre/kdeutils-ark-libre/PKGBUILD
parentb87d87a2bbcc7db80f2ad33a7fbee195fd935a90 (diff)
kdeutils-ark-libre-4.9.5-1: adding unar support
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} \