summaryrefslogtreecommitdiff
blob: 2aa22015df8557411e8012111dadea0ee7b5a09d (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
32
33
34
35
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $

inherit versionator eutils

MY_P="linunace$(delete_all_version_separators)"
MY_PN="unace"

DESCRIPTION="ACE unarchiver"
HOMEPAGE="http://www.winace.com/"
SRC_URI="http://www.winace.com/files/${MY_P}.tgz"

LICENSE="UNACE"
SLOT="0"
KEYWORDS="~x86"
IUSE=""

DEPEND=""

RESTRICT="strip"

S="${WORKDIR}"

src_install() {
	into /opt/${MY_PN}
	newbin ${MY_PN} ${PN}
	dodir /opt/bin
	dosym /opt/${MY_PN}/bin/${PN} /opt/bin/${PN}
}

pkg_postinst() {
	einfo "This version of UnAce is avaible as unace-bin to enable one to use both"
	einfo "source and binary packages at the same time"
}