media-fonts/Humor-Sans: Simplify src_unpack
authorBertrand Jacquin <bertrand@jacquin.bzh>
Mon, 2 Sep 2013 19:21:32 +0000 (21:21 +0200)
committerBertrand Jacquin <bertrand@jacquin.bzh>
Sat, 10 Oct 2015 12:19:12 +0000 (13:19 +0100)
Package-Manager: portage-2.2.20.1

media-fonts/Humor-Sans/Humor-Sans-1.0.ebuild

index 371f4b9d5848091a61e7ed69d330117a27dab189..6f6cfcbf875acbd74c198262c474bc801a113aee 100644 (file)
@@ -1,4 +1,4 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -20,5 +20,5 @@ FONT_S="${S}"
 FONT_SUFFIX="ttf"
 
 src_unpack() {
-       cp "${DISTDIR}/${A}" "${S}/${A//-${PV}}"
+       cp "${DISTDIR}/${A}" "${FONT_S}/${PN}.${FONT_SUFFIX}"
 }