blob: 579c49d1c0c96eb94f075d05984b1a9e5b3e71e8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/rox-extra/rox-rename/rox-rename-0.4.0.ebuild,v 1.1 2008/01/22 17:38:46 lack Exp $
inherit rox
MY_PN="Rename"
DESCRIPTION="Rename can rename multiple files based on a regular expression."
HOMEPAGE="http://php.apsique.com/project/Rename"
SRC_URI="http://php.apsique.com/files/${MY_PN}-${PV}.tgz"
LICENSE="GPL-2"
SLOT="0"
IUSE=""
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-lang/ruby-1.8
dev-ruby/ruby-libglade2"
APPNAME=${MY_PN}
S=${WORKDIR}
src_unpack() {
unpack ${A}
cd "${S}"/${MY_PN}
sed -i -e 's|0.0.3|0.4.0|' AppRun || die "failed to fix version"
sed -i -e 's|0.0.3|0.4.0|' Rename.xml || die "failed to fix version"
rm -f Rename.xml.asc
}
|