Overlay/media-fonts/corefonts-lucon/corefonts-lucon-1.0.0.ebuild

43 lines
765 B
Bash
Raw Normal View History

2013-01-21 16:01:14 +04:00
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
2022-08-05 09:05:30 +03:00
EAPI="7"
2013-01-21 16:01:14 +04:00
if [[ ${PV} == "9999" ]] ; then
2018-03-28 19:04:39 +03:00
EGIT_REPO_URI=${EGIT_REPO_URI:-"https://git.backbone.ws/kolan/corefonts-lucidaconsole.git"}
2015-10-12 19:44:08 +03:00
inherit git-r3
2013-01-21 16:01:14 +04:00
KEYWORDS=""
else
2018-03-28 19:04:39 +03:00
SRC_URI="https://git.backbone.ws/kolan/corefonts-lucidaconsole/archive/v${PV}.tar.gz -> corefonts-lucon-${PV}.tar.gz"
2013-01-21 16:01:14 +04:00
KEYWORDS="-* x86 amd64"
fi
DESCRIPTION="Lucida Console fonts"
HOMEPAGE=""
SLOT="0"
LICENSE="EULA"
IUSE=""
DEPEND=""
RDEPEND="${DEPEND}"
src_unpack() {
unpack ${A}
cd "${WORKDIR}"
2018-03-28 22:00:01 +03:00
mv corefonts-lucidaconsole ${P}
2013-01-21 16:01:14 +04:00
}
src_install() {
if [[ ${PV} == "9999" ]] ; then
emake install DESTDIR="${D}"
else
emake install DESTDIR="${D}" || die
fi
}