Magellan Linux

Annotation of /trunk/extras/xarchiver/xarchiver-0.5.4-r1.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 31294 - (hide annotations) (download)
Thu Jun 21 11:38:26 2018 UTC (5 years, 10 months ago) by niro
File size: 1274 byte(s)
auto added: ver bump to 0.5.4-r1
1 niro 31294 # $Id$
2    
3     PNAME="xarchiver"
4     PVER="0.5.4"
5     PBUILD="r1"
6    
7     PCAT="app-arch"
8     DESCRIPTION="Advanced archive manager that can be used with Thunar."
9    
10     DEPEND=">= dev-libs/glib2-2.46
11     >= x11-libs/gtk2+-2.24"
12    
13     sminclude xfce
14    
15     SRC_URI=(
16     sourceforge://${PNAME}/${SRCFILE}
17     mirror://${PNAME}/${SRCFILE}
18     mirror://${PNAME}/${PNAME}-0.5.2-fix-7zip.patch
19     mirror://${PNAME}/${PNAME}-0.5.2-xz-support.patch
20     mirror://${PNAME}/${PNAME}-0.5.2-rpm2cpio-support.patch
21     mirror://${PNAME}/${PNAME}-0.5.2-segfault.patch
22     )
23    
24     UP2DATE="updatecmd_xfce ${PNAME}"
25    
26     src_prepare()
27     {
28     munpack ${SRCFILE} || die
29     cd ${SRCDIR}
30    
31     mpatch ${PNAME}-0.5.2-fix-7zip.patch || die
32     mpatch ${PNAME}-0.5.2-xz-support.patch || die
33     mpatch ${PNAME}-0.5.2-rpm2cpio-support.patch || die
34     mpatch ${PNAME}-0.5.2-segfault.patch || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40    
41     # install the xarchive.tap to the right place
42     xfce_configure --libexecdir=/usr/$(mlibdir)/thunar-archive-plugin || die
43     mmake || die
44     }
45    
46     postinstall()
47     {
48     xfce_postinstall
49    
50     echo "You need external programs for some formats, including"
51     #fixme:
52     #echo "7zip - app-arch/p7zip"
53     #echo "arj - app-arch/unarj app-arch/arj"
54     #echo "lha - app-arch/lha"
55     #echo "lzop - app-arch/lzop"
56     echo "rar - app-arch/unrar app-arch/rar"
57     echo "zip - app-arch/unzip app-arch/zip"
58     }