You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/app-misc/unfoo/unfoo-1.0.6.ebuild

31 lines
812 B

# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/app-misc/unfoo/unfoo-1.0.6.ebuild,v 1.10 2014/08/05 11:33:16 armin76 Exp $
DESCRIPTION="A simple bash driven frontend to simplify decompression of files"
HOMEPAGE="http://obsoleet.org/code/unfoo"
SRC_URI="${HOMEPAGE}/${P}.sh"
LICENSE="BSD"
SLOT="0"
KEYWORDS=" amd64 ppc ppc64 s390 x86 ~x86-fbsd"
IUSE=""
S="${WORKDIR}"
src_unpack() {
cp "${DISTDIR}"/${A} "${WORKDIR}"
}
src_install() {
newbin ${P}.sh unfoo || die
}
pkg_postinst() {
echo
elog "unfoo can handle far more than just .tar*, but it requires some"
elog "optional packages to do so. For a list, either consult the source"
elog "(less /usr/bin/unfoo), or see http://obsoleet.org/code/unfoo"
echo
}