Magellan Linux

Annotation of /branches/magellan-next/extras/xarchiver/xarchiver-0.5.2-r2.smage2

Parent Directory Parent Directory | Revision Log Revision Log


Revision 9526 - (hide annotations) (download)
Mon Dec 5 18:01:54 2011 UTC (12 years, 5 months ago) by niro
File size: 1298 byte(s)
-typo
1 niro 9525 # $Id$
2    
3     PNAME="xarchiver"
4     PVER="0.5.2"
5     PBUILD="r2"
6    
7     PCATEGORIE="app-arch"
8     DESCRIPTION="Advanced archive manager that can be used with Thunar."
9    
10     DEPEND=">= dev-libs/glib2-2.28
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}-${PVER}-fix-7zip.patch
19     mirror://${PNAME}/${PNAME}-${PVER}-xz-support.patch
20     mirror://${PNAME}/${PNAME}-${PVER}-rpm2cpio-support.patch
21     mirror://${PNAME}/${PNAME}-${PVER}-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}-${PVER}-fix-7zip.patch || die
32     mpatch ${PNAME}-${PVER}-xz-support.patch || die
33     mpatch ${PNAME}-${PVER}-rpm2cpio-support.patch || die
34     mpatch ${PNAME}-${PVER}-segfault.patch || die
35     }
36    
37     src_compile()
38     {
39     cd ${SRCDIR}
40    
41     # install the xarchive.tap to the right place
42 niro 9526 xfce_configure --libexecdir=/usr/$(mlibdir)/thunar-archive-plugin || die
43 niro 9525 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     }