From 8f78c64bac1a05a9cb7babecf21dac46064ac18d Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 5 Jan 2013 15:58:06 -0200 Subject: kdeutils-ark-libre-4.9.5-1: adding unar support --- libre/kdeutils-ark-libre/PKGBUILD | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'libre/kdeutils-ark-libre/PKGBUILD') 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} \ -- cgit v1.2.3-54-g00ecf