summaryrefslogtreecommitdiff
path: root/libre/xarchiver-libre/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/xarchiver-libre/PKGBUILD')
-rw-r--r--libre/xarchiver-libre/PKGBUILD80
1 files changed, 22 insertions, 58 deletions
diff --git a/libre/xarchiver-libre/PKGBUILD b/libre/xarchiver-libre/PKGBUILD
index e606e65f4..a718b8252 100644
--- a/libre/xarchiver-libre/PKGBUILD
+++ b/libre/xarchiver-libre/PKGBUILD
@@ -1,4 +1,4 @@
-# $Id: PKGBUILD 104651 2014-01-24 08:23:36Z bgyorgy $
+# $Id: PKGBUILD 105928 2014-02-19 11:27:15Z bgyorgy $
# Maintainer: Balló György <ballogyor+arch at gmail dot com>
# Contributor: Alexander Fehr <pizzapunk gmail com>
# Contributor: Andrew Simmons <andrew.simmons@gmail.com>
@@ -6,8 +6,8 @@
_pkgname=xarchiver
pkgname=xarchiver-libre
-pkgver=0.5.2
-pkgrel=6
+pkgver=0.5.3
+pkgrel=1
pkgdesc="GTK+ frontend to various command line archivers, with unar support"
arch=('i686' 'x86_64' 'mips64el')
url="http://xarchiver.sourceforge.net/"
@@ -19,78 +19,42 @@ depends=('gtk2' 'desktop-file-utils')
makedepends=('intltool')
optdepends=('zip: ZIP support'
'unzip: ZIP support'
- 'unar: RAR support'
'p7zip: 7z support'
'arj: ARJ support'
'lzop: LZOP support'
- 'cpio: RPM support')
+ 'cpio: RPM support'
+ 'unar: RAR support')
install=xarchiver.install
source=(http://downloads.sourceforge.net/xarchiver/xarchiver-$pkgver.tar.bz2
- xarchiver-0.5.2-no-donators-menu.patch
- xarchiver-0.5.2-add_xz_support.patch
- xarchiver-0.5.2-segfault-open-with.patch
- xarchiver-0.5.2-fix_7z_support.patch
- xarchiver-0.5.2-drag-n-drop_escaped_path.patch
- xarchiver-0.5.2-fix-double-escaping.patch
- xarchiver-0.5.2-fix-non-existent-archive.patch
- xarchiver-0.5.2-segfault-delete-file.patch
- xarchiver-0.5.2-segfault-password-protected.patch
- xarchiver-0.5.2-add_unar_support.patch
- xarchiver-0.5.2-add_mime_types.patch)
-md5sums=('2bc7f06403cc6582dd4a8029ec9d038d'
- '7ef9fe9aee9f0fbc141ed9683e91ea1c'
- '5d5ef8dd1b8b7790af4ece5fcedcd370'
- 'f9036a44157b318cbc59ed012b04974b'
- '782f55c1f1021dc02c7739bf8a47336e'
- 'fcd9e04222c5e0ef459977bd7cd0ae4e'
+ xarchiver-0.5.3-fix-rpm-support.patch
+ xarchiver-0.5.3-fix-double-escaping.patch
+ xarchiver-0.5.3-fix-password-protected.patch
+ xarchiver-0.5.3-add-mime-types.patch
+ xarchiver-0.5.3-add-unar-support.patch)
+md5sums=('fd390bbd2df76a5f8a007bdeae82d4aa'
+ '812b93339f5e3332621f3c5abebfe277'
'6178d7ab679b761469c880a8db991907'
- '22ed2783e72684a102243c5834bf5ca3'
- 'e518b1e0bc4407383aae2783c0c19a04'
- 'c46daf2ee9fce7ece608eca33174db6b'
- '1bfed3e1a9f8f4858ec90f0d66cfc5ba'
- '36a4c3181230aab1e0ce1596acc5ef88')
+ '35ab96d98521a0a36f3e9e9ec0969107'
+ 'f9119f5290caa195a56b7d3c63d9137d'
+ '5f0b21efd0159d41f207e664b72210b8')
prepare() {
cd $_pkgname-$pkgver
- # Fix donators menu item (upstream patch)
- patch -Np2 -i ../xarchiver-0.5.2-no-donators-menu.patch
-
- # Add XZ support
- # http://sourceforge.net/p/xarchiver/bugs/28/
- patch -Np1 -i ../xarchiver-0.5.2-add_xz_support.patch
-
- # Fix segfault on open with dialog
- # http://sourceforge.net/p/xarchiver/bugs/52/
- patch -Np1 -i ../xarchiver-0.5.2-segfault-open-with.patch
-
- # Fix 7z support
- # http://sourceforge.net/p/xarchiver/patches/5/
- patch -Np1 -i ../xarchiver-0.5.2-fix_7z_support.patch
-
- # Fix extraction when the Drag'n'Drop target path contains spaces
- patch -Np1 -i ../xarchiver-0.5.2-drag-n-drop_escaped_path.patch
+ # Fix RPM support
+ patch -Np1 -i ../xarchiver-0.5.3-fix-rpm-support.patch
# Fix error when trying to create archives with spaces
- patch -Np1 -i ../xarchiver-0.5.2-fix-double-escaping.patch
-
- # Fix segfault when non-existent archive specified
- patch -Np1 -i ../xarchiver-0.5.2-fix-non-existent-archive.patch
-
- # Fix segfault when deleting a file
- patch -Np1 -i ../xarchiver-0.5.2-segfault-delete-file.patch
+ patch -Np1 -i ../xarchiver-0.5.3-fix-double-escaping.patch
# Fix segfault when handling password protected files
- patch -Np1 -i ../xarchiver-0.5.2-segfault-password-protected.patch
-
- # Add unar support
- patch -Np1 -i ../xarchiver-0.5.2-add_unar_support.patch
+ patch -Np1 -i ../xarchiver-0.5.3-fix-password-protected.patch
# Add more MIME types in the desktop file
- patch -Np1 -i ../xarchiver-0.5.2-add_mime_types.patch
+ patch -Np1 -i ../xarchiver-0.5.3-add-mime-types.patch
- # Update upstream URL
- find -type f | xargs sed -i 's|http://xarchiver.xfce.org|http://xarchiver.sf.net|'
+ # Add unar support
+ patch -Np1 -i ../xarchiver-0.5.3-add-unar-support.patch
}
build() {