Lines 47-66
Link Here
|
47 |
# options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar |
47 |
# options. On Gentoo, star is /usr/bin/tar, GNU tar is /bin/tar |
48 |
epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch |
48 |
epatch "${FILESDIR}"/${PN}-2.10.3-use_bin_tar.patch |
49 |
|
49 |
|
50 |
# use a local rpm2cpio script to avoid the dep |
|
|
51 |
sed -e "s/rpm2cpio/rpm2cpio-file-roller/g" \ |
52 |
-i src/fr-command-rpm.c || die "sed failed" |
53 |
|
54 |
# Fix intltoolize broken file, see upstream #577133 and #579464 |
50 |
# Fix intltoolize broken file, see upstream #577133 and #579464 |
55 |
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ |
51 |
sed "s:'\^\$\$lang\$\$':\^\$\$lang\$\$:g" -i po/Makefile.in.in \ |
56 |
|| die "sed failed" |
52 |
|| die "sed failed" |
57 |
} |
53 |
} |
58 |
|
54 |
|
59 |
src_install() { |
|
|
60 |
gnome2_src_install |
61 |
dobin "${FILESDIR}/rpm2cpio-file-roller" || die "dobin failed" |
62 |
} |
63 |
|
64 |
pkg_postinst() { |
55 |
pkg_postinst() { |
65 |
elog "${PN} is a frontend for several archiving utilities. If you want a" |
56 |
elog "${PN} is a frontend for several archiving utilities. If you want a" |
66 |
elog "particular achive format support, see ${HOMEPAGE}" |
57 |
elog "particular achive format support, see ${HOMEPAGE}" |