Merge pull request #2143 from LockeAnarchist/thunar-archive-plugin

New package: thunar-archive-plugin-0.3.1
This commit is contained in:
Juan RP 2015-08-01 09:08:07 +02:00
commit 4e36828633
2 changed files with 51 additions and 0 deletions

View file

@ -0,0 +1,37 @@
From cc1b9c86d1b563318a2b9489b062f9519ae08b20 Mon Sep 17 00:00:00 2001
From: Evangelos Foutras <evangelos@foutrelis.com>
Date: Wed, 23 Apr 2014 20:13:19 +0300
Subject: [PATCH] Fix file-roller>=3.12.1 detection (bug #10826)
File Roller 3.12.1 changed the name of its .desktop file from
file-roller.desktop to org.gnome.FileRoller.desktop.
We install a new symlink to support the new .desktop file name.
---
scripts/Makefile.am | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/scripts/Makefile.am b/scripts/Makefile.am
index 4da529c..3804605 100644
--- a/scripts/Makefile.am
+++ b/scripts/Makefile.am
@@ -5,12 +5,15 @@ wrapper_SCRIPTS = \
ark.tap \
file-roller.tap
-# Install symlink to 'gnome-file-roller.tap'
+# Install symlink to 'gnome-file-roller.tap' and 'org.gnome.FileRoller.tap'
install-exec-hook:
$(mkinstalldirs) $(DESTDIR)$(wrapperdir)
-( cd $(DESTDIR)$(wrapperdir) ; \
test -f gnome-file-roller.tap \
|| ln -sf file-roller.tap gnome-file-roller.tap )
+ -( cd $(DESTDIR)$(wrapperdir) ; \
+ test -f org.gnome.FileRoller.tap \
+ || ln -sf file-roller.tap org.gnome.FileRoller.tap )
EXTRA_DIST = \
$(wrapper_SCRIPTS) \
--
1.9.2

View file

@ -0,0 +1,14 @@
# Template file for 'thunar-archive-plugin'
pkgname=thunar-archive-plugin
version=0.3.1
revision=1
build_style=gnu-configure
makedepends="Thunar-devel exo-devel"
hostmakedepends="intltool pkg-config xfce4-dev-tools"
short_desc="Create and extract archives in Thunar"
maintainer="LockeAnarchist <emanuel@openmailbox.org>"
license="GPL-2"
patch_args="-Np1"
homepage="http://goodies.xfce.org/projects/thunar-plugins/thunar-archive-plugin"
distfiles="http://archive.xfce.org/src/thunar-plugins/${pkgname}/0.3/${pkgname}-${version}.tar.bz2"
checksum=9ad559b0c11308f6897ad56604e5a06dc8f369f649eb20120b2d3018ef5da54c