summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2012-03-21 12:04:26 +0000
committerPacho Ramos <pacho@gentoo.org>2012-03-21 12:04:26 +0000
commit6c6c3981a19aa19906384c7af1091c61a0081126 (patch)
tree25ae1e0472c18173ef836984664c261914302e85 /app-admin/localepurge/localepurge-0.5.3.3.ebuild
parentStable for amd64, wrt bug #409049 (diff)
downloadhistorical-6c6c3981a19aa19906384c7af1091c61a0081126.tar.gz
historical-6c6c3981a19aa19906384c7af1091c61a0081126.tar.bz2
historical-6c6c3981a19aa19906384c7af1091c61a0081126.zip
Fix reported version.
Package-Manager: portage-2.1.10.49/cvs/Linux x86_64
Diffstat (limited to 'app-admin/localepurge/localepurge-0.5.3.3.ebuild')
-rw-r--r--app-admin/localepurge/localepurge-0.5.3.3.ebuild14
1 files changed, 10 insertions, 4 deletions
diff --git a/app-admin/localepurge/localepurge-0.5.3.3.ebuild b/app-admin/localepurge/localepurge-0.5.3.3.ebuild
index 239be54ecd92..905739be6b0f 100644
--- a/app-admin/localepurge/localepurge-0.5.3.3.ebuild
+++ b/app-admin/localepurge/localepurge-0.5.3.3.ebuild
@@ -1,9 +1,11 @@
-# Copyright 1999-2008 Gentoo Foundation
+# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.3.ebuild,v 1.2 2008/01/26 10:20:17 grobian Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/localepurge/localepurge-0.5.3.3.ebuild,v 1.3 2012/03/21 12:04:26 pacho Exp $
+
+EAPI=4
DESCRIPTION="Script to recover diskspace wasted for unneeded locale files and localized man pages."
-HOMEPAGE="http://www.josealberto.org/blog/index.php?s=localepurge"
+HOMEPAGE="http://gentoo.org"
SRC_URI="mirror://gentoo/${P}.tbz2"
LICENSE="GPL-2"
@@ -16,12 +18,16 @@ RDEPEND="app-shells/bash"
S=${WORKDIR}/${PN}
+src_prepare() {
+ sed -i -e 's/0.5.3.2/0.5.3.3/' localepurge || die
+}
+
src_install() {
insinto /var/cache/localepurge
doins defaultlist
dosym defaultlist /var/cache/localepurge/localelist
insinto /etc
doins locale.nopurge
- dobin localepurge || die
+ dobin localepurge
doman localepurge.8
}