Contents of /trunk/extras/xarchiver/xarchiver-0.5.2-r5.smage2
Parent Directory | Revision Log
Revision 26443 -
(show annotations)
(download)
Fri Jun 26 17:33:32 2015 UTC (9 years, 3 months ago) by niro
File size: 1290 byte(s)
Fri Jun 26 17:33:32 2015 UTC (9 years, 3 months ago) by niro
File size: 1290 byte(s)
auto added: ver bump to 0.5.2-r5
1 | # $Id$ |
2 | |
3 | PNAME="xarchiver" |
4 | PVER="0.5.2" |
5 | PBUILD="r5" |
6 | |
7 | PCAT="app-arch" |
8 | DESCRIPTION="Advanced archive manager that can be used with Thunar." |
9 | |
10 | DEPEND=">= dev-libs/glib2-2.44 |
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 | 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 | } |